summaryrefslogtreecommitdiff
path: root/Makefile
blob: 45576f691dde9364a57306c3e66de2de6caa1b67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%.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