From b6ff458329367c2c7c3540d584b47dc0144caa4c Mon Sep 17 00:00:00 2001 From: Robin KAY Date: Thu, 12 Aug 2004 07:26:59 +0000 Subject: Fix problems building xine when sgmltools and/or fig2dev are not present. CVS patchset: 6880 CVS date: 2004/08/12 07:26:59 --- doc/faq/Makefile.am | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'doc/faq') diff --git a/doc/faq/Makefile.am b/doc/faq/Makefile.am index d57e08cf9..f534d867a 100644 --- a/doc/faq/Makefile.am +++ b/doc/faq/Makefile.am @@ -26,15 +26,13 @@ faq.html: faq.sgml $(SGMLTOOLS) -b onehtml faq.sgml; else faq.html: faq.sgml - if test "$(fail_if_missing)" = "yes"; then \ + if test x"$(fail_if_missing)" = x"yes"; then \ echo "Please install sgmltools-lite."; \ exit 1; \ else \ touch $@; \ - sleep 1; \ touch $^; \ - fi; \ - fi + fi endif if HAVE_SGMLTOOLS @@ -42,13 +40,11 @@ faq.txt: faq.sgml $(SGMLTOOLS) -b txt faq.sgml; else faq.txt: faq.sgml - if test "$(fail_if_missing)" = "yes"; then \ + if test x"$(fail_if_missing)" = x"yes"; then \ echo "Please install sgmltools-lite."; \ exit 1; \ else \ touch $@; \ - sleep 1; \ touch $^; \ - fi; \ - fi + fi endif -- cgit v1.2.3