aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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