2
datadir = $(prefix)/share
3
mandir = $(datadir)/man
5
txttargets = $(shell echo *.txt)
6
htmltargets = $(patsubst %.txt, %.html, $(txttargets))
12
docs: unoconv.1 $(htmltargets)
15
install -Dp -m0644 unoconv.1 $(DESTDIR)$(mandir)/man1/unoconv.1
18
rm -f unconv.1 *.html *.xml
21
asciidoc -d manpage $<
30
asciidoc -b docbook -d manpage $<