aboutsummaryrefslogtreecommitdiffstats
path: root/help/Makefile.am
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-12-13 15:00:11 +0000
committerBill Meier <wmeier@newsguy.com>2008-12-13 15:00:11 +0000
commit157f478a238c6db2667d768dd2aee5738f40645e (patch)
tree54946f1f4eaf9622268f49c355e16be7d47674b5 /help/Makefile.am
parent9a411f5ddf1bdcf38b730899d3b4bf21d4945ce9 (diff)
Fix to make faq.txt when one or more of elinks,... don't exist
svn path=/trunk/; revision=26986
Diffstat (limited to 'help/Makefile.am')
-rw-r--r--help/Makefile.am8
1 files changed, 5 insertions, 3 deletions
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