Adjust path of rsync (use /bin)
[live-initramfs-grml.git] / manpages / Makefile
1 all: doc
2
3 doc: doc_man doc_html
4
5 doc_html: html-stamp
6
7 html-stamp: live-initramfs.en.7.txt live-snapshot.en.1.txt
8         asciidoc -b xhtml11 live-initramfs.en.7.txt
9         asciidoc -b xhtml11 live-snapshot.en.1.txt
10         touch html-stamp
11
12 doc_man: man-stamp
13
14 man-stamp: live-initramfs.en.7.txt live-snapshot.en.1.txt
15         # live-initramfs:
16         asciidoc -d manpage -b docbook live-initramfs.en.7.txt
17         xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl live-initramfs.en.7.xml
18         mv live-initramfs.7 live-initramfs.en.7
19         # live-snapshot:
20         asciidoc -d manpage -b docbook live-snapshot.en.1.txt
21         xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl live-snapshot.en.1.xml
22         mv live-snapshot.1 live-snapshot.en.1
23         touch man-stamp
24
25 clean:
26         rm -f live-initramfs.en.7.html live-initramfs.en.7.xml live-initramfs.en.7
27         rm -f live-snapshot.en.1.html live-snapshot.en.1.xml live-snapshot.en.1
28         rm -f html-stamp man-stamp