X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=c61b67f9329cdf464a467e04ae8fb2b51b9aac41;hb=refs%2Fheads%2Fautodoc;hp=4ac22237bff868195b98da408da223319ee898a0;hpb=45c0e948e8b98c5034d1e76e32c549063d185811;p=hvgrip.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 4ac2223..c61b67f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,2 +1,37 @@ +SUBDIRS = images -SUBDIRS = C +XSLTPROC=xsltproc +XSLTPROC_FLAGS= +XHTML_STYLESHEET="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl" +#XHTML_STYLESHEET="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl" +XML_CATALOG_FILES=/etc/xml/catalog + +@PACKAGE@_helpdir = $(docdir) + +@PACKAGE@_help_DATA = \ + @PACKAGE@.html \ + @PACKAGE@.xml + +if have_docbook + +@PACKAGE@.html: ${top_srcdir}/doc/@PACKAGE@.xml + XML_CATALOG_FILES=$(XML_CATALOG_FILES) $(XSLTPROC) $(XSLTPROC_FLAGS) -o $@ $(XHTML_STYLESHEET) $< + +##.xml.html: +# XSLTPROC_OPTS=/usr/share/xml/docbook/xsl-stylesheets-/xhtml/docbook.xsl +### $(XSLTPROC) --output $@ --nonet $(docbook_styles)/docbook.xsl $< + +else + +@PACKAGE@.html: + touch $@ + +endif + +EXTRA_DIST = \ + @PACKAGE@.html \ + @PACKAGE@.xml + +CLEANFILES = *~ + +MAINTAINERCLEANFILES = Makefile.in