]> arthur.barton.de Git - netatalk.git/blobdiff - doc/manual/Makefile.am
Add html manual generation
[netatalk.git] / doc / manual / Makefile.am
index 7f2b61d2a0d0733e14e4d2a9261aefc1ebe6ed9a..4ba02ee3f509398226596aee5cc8be596ff2c2b9 100644 (file)
@@ -1,7 +1,62 @@
+XSLTPROC=@XSLTPROC@
+XSLTPROC_FLAGS=@XSLTPROC_FLAGS@
+HTML_STYLESHEET=$(top_srcdir)/doc/html.xsl
+CLEANFILES =
+
+XML_PAGES = \
+       manual.xml \
+       configuration.xml \
+       install.xml \
+       intro.xml \
+       upgrade.xml
+
 EXTRA_DIST = \
+       manual.xml.in \
        configuration.xml \
        install.xml \
        intro.xml \
        upgrade.xml
 
+HTML_PAGES = \
+       ad.1.html \
+       afp.conf.5.html \
+       afpd.8.html \
+       afpldaptest.1.html \
+       afppasswd.1.html \
+       afp_signature.conf.5.html  \
+       afpstats.1.html \
+       afp_voluuid.conf.5.html \
+       apple_dump.1.html \
+       asip-status.pl.1.html \
+       cnid_dbd.8.html \
+       cnid_metad.8.html \
+       configuration.html \
+       dbd.1.html \
+       example-toc.html \
+       extmap.conf.5.html \
+       index.html \
+       installation.html \
+       intro.html \
+       macusers.1.html \
+       man-pages.html \
+       manual-index.html \
+       megatron.1.html \
+       netatalk.8.html \
+       netatalkconfig.1.html \
+       pr01.html \
+       table-toc.html \
+       uniconv.1.html \
+       upgrade.html
+
 DISTCLEANFILES = manual.xml
+
+if HAVE_XSLTPROC
+CLEANFILES += $(HTML_PAGES)
+
+html-local: $(XML_PAGES)
+       @xsltproc $(HTML_STYLESHEET) manual.xml
+
+html-upload: html-local
+       scp $(HTML_PAGES) $$USER,netatalk@web.sourceforge.net:/home/project-web/netatalk/htdocs/3.0/htmldocs/
+
+endif