2 # taken from selfdocbookx, http://cyberelk.net/tim/docbook/selfdocbookx/index.html
4 # modified by andy wingo <apwingo@eos.ncsu.edu> 14 dec 2001 for use by gstreamer
12 else #!HAVE_FIG2DEV_PNG
14 endif #!HAVE_FIG2DEV_PNG
29 endif #!HAVE_PDFXMLTEX
31 else #!HAVE_FIG2DEV_PDF
34 endif #!HAVE_FIG2DEV_PDF
42 $(DOC).fo: $(XML) $(PDFS) $(XSLFO) $(XSLFOMODS)
44 xsltproc $(XSLFO) $(MAIN) > $@-t
54 $(DOC): $(XML) $(PNGS) $(XSLHTML) $(XSLHTMLMODS)
59 xsltproc $(XSLHTML) $(MAIN)
62 test "x$(PNGS)" != "x" && mkdir $@/images && cp $(PNGS) $@/images || true
65 echo -n $$(date "+%e %B %Y") > $@
68 -$(RM) -f *.log *.dvi *.aux *.tex *.out *-t
69 -$(RM) -f $(PNGS) $(PDFS) builddate *.html
70 -$(RM) -rf $(DOC) $(DOC).ps $(DOC).pdf $(DOC).fo
74 -$(RM) -f *~ $(DOC).tar.gz docbook.tar.gz
77 $(DOC).tar.gz: distclean
78 (cd ..; tar zcf /tmp/$(DOC).tar.gz $(DOC) )
79 mv /tmp/$(DOC).tar.gz .
81 #docbook: $(DOC).tar.gz all
84 # cp $(DOC).tar.gz $(DOC).ps $(DOC).pdf $@
85 # tar cf - $(DOC) | (cd $@; tar xf -)
87 #docbook.tar.gz: docbook
88 # tar zcf docbook.tar.gz docbook
98 .PHONY: distclean clean all builddate