From f516480d9432d3e8cd257f129829589f627e40e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Sat, 2 Jun 2007 20:10:05 +0200 Subject: Replace the faq.html and faq.txt rules with new ones with xmlto. --- doc/faq/Makefile.am | 38 ++++---------------------------------- 1 file changed, 4 insertions(+), 34 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3