diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-12-13 15:00:11 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-12-13 15:00:11 +0000 |
commit | 157f478a238c6db2667d768dd2aee5738f40645e (patch) | |
tree | 54946f1f4eaf9622268f49c355e16be7d47674b5 /help | |
parent | 9a411f5ddf1bdcf38b730899d3b4bf21d4945ce9 (diff) | |
download | wireshark-157f478a238c6db2667d768dd2aee5738f40645e.tar.gz wireshark-157f478a238c6db2667d768dd2aee5738f40645e.tar.bz2 wireshark-157f478a238c6db2667d768dd2aee5738f40645e.zip |
Fix to make faq.txt when one or more of elinks,... don't exist
svn path=/trunk/; revision=26986
Diffstat (limited to 'help')
-rw-r--r-- | help/Makefile.am | 8 |
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 |