summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-02 20:10:05 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-02 20:10:05 +0200
commitf516480d9432d3e8cd257f129829589f627e40e8 (patch)
treee1b93529aef71b7bd455c573079bf57afb9048ab
parent4dcb0c990f8e12bbec8304eda669cf067149c110 (diff)
downloadxine-lib-f516480d9432d3e8cd257f129829589f627e40e8.tar.gz
xine-lib-f516480d9432d3e8cd257f129829589f627e40e8.tar.bz2
Replace the faq.html and faq.txt rules with new ones with xmlto.
-rw-r--r--doc/faq/Makefile.am38
1 files changed, 4 insertions, 34 deletions
diff --git a/doc/faq/Makefile.am b/doc/faq/Makefile.am
index e60fe1a18..643099888 100644
--- a/doc/faq/Makefile.am
+++ b/doc/faq/Makefile.am
@@ -16,38 +16,8 @@ dist-hook:
$(MAKE) docs ; \
fi
-if HAVE_SGMLTOOLS
-faq.html: faq.sgml
- @$(MAKE) docs-prepare
- $(SGMLTOOLS) -b onehtml faq.sgml;
-else
-faq.html: faq.sgml
- @$(MAKE) docs-prepare
- if test x"$(fail_if_missing)" = x"yes"; then \
- echo "Please install sgmltools-lite."; \
- exit 1; \
- fi
- if test x"$(fail_if_missing)" != x"yes"; then \
- touch $@; \
- sleep 1; \
- touch $(notdir $^); \
- fi
-endif
+faq.html: faq.docbook
+ xmlto html-nochunks $(srcdir)/faq.docbook
-if HAVE_SGMLTOOLS
-faq.txt: faq.sgml
- @$(MAKE) docs-prepare
- $(SGMLTOOLS) -b txt faq.sgml;
-else
-faq.txt: faq.sgml
- @$(MAKE) docs-prepare
- if test x"$(fail_if_missing)" = x"yes"; then \
- echo "Please install sgmltools-lite."; \
- exit 1; \
- fi
- if test x"$(fail_if_missing)" != x"yes"; then \
- touch $@; \
- sleep 1; \
- touch $(notdir $^); \
- fi
-endif
+faq.txt: faq.docbook
+ xmlto txt $(srcdir)/faq.docbook