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 ++++-------- doc/hackersguide/Makefile.am | 9 +++------ 2 files changed, 7 insertions(+), 14 deletions(-) (limited to 'doc') 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 diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am index f26e3e320..47455bcb4 100644 --- a/doc/hackersguide/Makefile.am +++ b/doc/hackersguide/Makefile.am @@ -36,14 +36,13 @@ hackersguide.html: $(hackersguide_sgml) $(SGMLTOOLS) -b onehtml hackersguide.sgml; else hackersguide.html: $(hackersguide_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 endif if HAVE_FIG2DEV @@ -51,13 +50,11 @@ if HAVE_FIG2DEV $(FIG2DEV) -L png -S 4 $< $@; else %.png: $(srcdir)/%.fig - if test "$(fail_if_missing)" = "yes"; then \ + if test x"$(fail_if_missing)" = x"yes"; then \ echo "Please install fig2dev."; \ exit 1; \ else \ touch $@; \ - sleep 1; \ touch $^; \ - fi; \ fi endif -- cgit v1.2.3