]> ruderich.org/simon Gitweb - wall-notify/wall-notify.git/blob - man/Makefile.am
README: mention -m
[wall-notify/wall-notify.git] / man / Makefile.am
1 dist_man1_MANS = wall-notify.1
2 dist_noinst_DATA = wall-notify.txt
3
4 DISTCLEANFILES = $(dist_man1_MANS)
5
6
7 ASCIIDOC = asciidoc
8 XMLTO = xmlto
9
10 A2XML = $(ASCIIDOC) --backend=docbook --doctype=manpage \
11                     --conf-file=$(srcdir)/man.conf
12 XML2MAN = $(XMLTO) man
13
14 .txt.1:
15         $(A2XML) -o $@.xml $<
16         $(XML2MAN) $@.xml
17         rm $@.xml