diff options
author | Balint Reczey <balint.reczey@ericsson.com> | 2008-12-15 12:35:23 +0000 |
---|---|---|
committer | Balint Reczey <balint.reczey@ericsson.com> | 2008-12-15 12:35:23 +0000 |
commit | 40385b9ab0b40ec2aa722dc9d1d1d36ad0e91f8f (patch) | |
tree | 542bcf663cbd6bbf28a5452f7a15753c91be3bba /help | |
parent | 408d562a5c8fa0bf0d879a1c9ef8510dbefceb3b (diff) | |
download | wireshark-40385b9ab0b40ec2aa722dc9d1d1d36ad0e91f8f.tar.gz wireshark-40385b9ab0b40ec2aa722dc9d1d1d36ad0e91f8f.tar.bz2 wireshark-40385b9ab0b40ec2aa722dc9d1d1d36ad0e91f8f.zip |
Try browsers for faq.txt generation silently.
svn path=/trunk/; revision=26999
Diffstat (limited to 'help')
-rw-r--r-- | help/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/help/Makefile.am b/help/Makefile.am index dbb3a75887..d389c6756d 100644 --- a/help/Makefile.am +++ b/help/Makefile.am @@ -44,7 +44,7 @@ MAINTAINERCLEANFILES = \ # Try our best to convert the FAQ to text. faq.txt: $(srcdir)/faq.py $(srcdir)/faq.py >$@.tmp - elinks -dump -dump-width 72 -no-numbering -no-references < $@.tmp > $@ || \ - links -width 72 -html-numbered-links 0 -dump $@.tmp > $@ || \ - lynx -dump -width=72 -nolist -stdin -force-html < $@.tmp > $@ + (( which elinks > /dev/null && elinks -dump -dump-width 72 -no-numbering -no-references < $@.tmp > $@ )|| \ + ( which links > /dev/null && links -width 72 -html-numbered-links 0 -dump $@.tmp > $@ )|| \ + ( which lynx > /dev/null && lynx -dump -width=72 -nolist -stdin -force-html < $@.tmp > $@ ) ) && \ rm -f $@.tmp |