4 XSLFO=$(srcdir)/../xsl/fo.xsl
5 XSLFOMODS=$(srcdir)/../xsl/ulink.xsl $(srcdir)/../xsl/keycombo.xsl
6 XSLHTML=$(srcdir)/../xsl/html.xsl
7 XSLHTMLMODS=$(srcdir)/../xsl/fileext.xsl $(srcdir)/../xsl/admon.xsl \
8 $(srcdir)/../xsl/keycombo.xsl $(srcdir)/../xsl/css.xsl
9 XSLS=$(XSLFO) $(XSLFOMODS) $(XSLHTML) $(XSLHTMLMODS)
13 EXTRA_DIST = $(XML) $(CSS) magic-png magic-pdf
15 include $(srcdir)/../manuals.mak
17 # target for building the faq dir to be put on the website and rsync-ing it
20 cd www-faq && rsync -arv * thomasvs@shell.sf.net:/home/groups/g/gs/gstreamer/htdocs/docs/faq/
22 www-faq: gstreamer-faq
24 cp gstreamer-faq/base.css www-faq
25 cd gstreamer-faq && for a in *.html; do \
26 xmllint --format --htmlout $$a 2> /dev/null | \
27 tail +3 > ../www-faq/$$a; \
29 cd www-faq && rename html php *.html && for a in *.php; do \
30 perl -i -p -e's@^.*\<head.*@\<?php include "../../lib/template.php"; echo get_header ("GStreamer: FAQ", "../.."); \?\>@' $$a; \
31 perl -i -p -e's@^.*\</body.*@\<?php echo get_footer(); \?\>@' $$a; \
32 perl -i -p -e's@^.*\</html.*@@' $$a; \
34 cd www-faq && for a in *.php; do \
35 perl -i -p -e's@href="index\.html@href="index.php@' $$a; \
36 perl -i -p -e's@href="(ar.*)\.html@href="$$1.php@' $$a; \
40 xmllint -noout -valid $(MAIN)