1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
# 2008-10-02, Tom Browder: PDF creation.
# 2010-11-19, Geert Janssens: Make the pdf create more universally usable.
#
# See README and HACKING.
fofile = $(docname).fo
pdffile = $(docname).pdf
$(pdffile): $(figfiles)
pdf: $(abs_builddir)/figures $(pdffile)
# This is only needed for out of tree builds. If you build
# from within the source directory, the build system
# will ignore this (mentioning a circular dependency)
$(abs_builddir)/figures: $(abs_srcdir)/figures
ln -s '$<' '$@'
$(fofile): $(entities)
.xml.fo:
$(XSLTPROC) $(XSLTPROCFLAGS) $(XSLTFLAGS_FO) -o '$@' --stringparam fop1.extensions 1 $(top_srcdir)/xsl/1.79.2/fo/docbook.xsl '$<'
.fo.pdf:
$(FOP) $(FOPFLAGS) -fo '$<' -pdf '$@'
CLEANFILES += $(pdffile) $(fofile)
|