From 157f478a238c6db2667d768dd2aee5738f40645e Mon Sep 17 00:00:00 2001 From: Bill Meier Date: Sat, 13 Dec 2008 15:00:11 +0000 Subject: Fix to make faq.txt when one or more of elinks,... don't exist svn path=/trunk/; revision=26986 --- help/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'help') diff --git a/help/Makefile.am b/help/Makefile.am index 6db30fb5e5..7caf4df5b2 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -43,6 +43,8 @@ MAINTAINERCLEANFILES = \ # Try our best to convert the FAQ to text. faq.txt: faq.py - ./faq.py | elinks -dump -dump-width 72 -no-numbering -no-references > $@ || \ - ./faq.py | links -dump -width 72 -no-numbering -no-references > $@ || \ - ./faq.py | lynx -dump -width=72 -nolist -stdin -force-html > $@ + ./faq.py >$@.tmp + elinks -dump -dump-width 72 -no-numbering -no-references < $@.tmp > $@ || \ + links -dump -width 72 -no-numbering -no-references < $@.tmp > $@ || \ + lynx -dump -width=72 -nolist -stdin -force-html < $@.tmp > $@ + rm -f $@.tmp -- cgit v1.2.3