blob: 842eb31fbe199c1bbf94fb949dec89a6322b46cd (
plain) (
tree)
|
|
all: git-bz.html git-bz.1
%.xml: %.txt
asciidoc -f asciidoc.conf -d manpage -b docbook $<
%.html: %.txt
asciidoc -f asciidoc.conf -d manpage $<
%.1: %.xml
xmlto man $<
upload-html: git-bz.html
DEST=`git config local.upload-html-dest` ; \
if [ $$? = 0 ] ; then : ; else echo "upload location not configured" ; exit 1 ; fi ; \
scp $< $$DEST
clean:
rm -f git-bz.xml git-bz.html git-bz.1
|