diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-01-30 13:13:33 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-02-05 11:25:47 -0500 |
commit | a76488f75f23b8e08763e28b2fa56352e7b04e19 (patch) | |
tree | a1d2d7cefe272f84cea427afc13cdec8566c8194 /Makefile.am | |
parent | 360f10333ac19f033ea64a8360c4886fbb657890 (diff) |
doc: use new macros to control doc generation
Namely XORG_WITH_FOP for the fop backend (pdf) and
XORG_ENABLE_DEVEL_DOCS for the generation of all docs
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index d47a551..a22c157 100644 --- a/Makefile.am +++ b/Makefile.am @@ -59,9 +59,12 @@ dist-hook: ChangeLog INSTALL # Developer documentation - not installed on system EXTRA_DIST += doc/fontlib.xml doc/fontlib.xsl doc/fontlib.css -if MAKE_DEVEL_DOCS +if ENABLE_DEVEL_DOCS if HAVE_XMLTO noinst_DATA = doc/fontlib.txt doc/fontlib.html $(srcdir)/doc/fontlib.css +if HAVE_FOP +noinst_DATA += doc/fontlib.pdf doc/fontlib.ps +endif CLEANFILES = doc/fontlib.txt doc/fontlib.html doc/fontlib.pdf doc/fontlib.ps doc/fontlib.txt: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl @@ -71,9 +74,9 @@ doc/fontlib.html: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl $(AM_V_GEN)$(XMLTO) -m $(srcdir)/doc/fontlib.xsl -o doc xhtml-nochunks $(srcdir)/doc/fontlib.xml doc/fontlib.pdf: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl - $(AM_V_GEN)$(XMLTO) -m $(srcdir)/doc/fontlib.xsl -o doc pdf $(srcdir)/doc/fontlib.xml + $(AM_V_GEN)$(XMLTO) --with-fop -m $(srcdir)/doc/fontlib.xsl -o doc pdf $(srcdir)/doc/fontlib.xml doc/fontlib.ps: $(srcdir)/doc/fontlib.xml $(srcdir)/doc/fontlib.xsl - $(AM_V_GEN)$(XMLTO) -m $(srcdir)/doc/fontlib.xsl -o doc ps $(srcdir)/doc/fontlib.xml + $(AM_V_GEN)$(XMLTO) --with-fop -m $(srcdir)/doc/fontlib.xsl -o doc ps $(srcdir)/doc/fontlib.xml endif HAVE_XMLTO -endif MAKE_DEVEL_DOCS +endif ENABLE_DEVEL_DOCS |