aboutsummaryrefslogtreecommitdiffstats
path: root/help/Makefile.am
diff options
context:
space:
mode:
authorBalint Reczey <balint.reczey@ericsson.com>2008-12-15 12:35:23 +0000
committerBalint Reczey <balint.reczey@ericsson.com>2008-12-15 12:35:23 +0000
commit40385b9ab0b40ec2aa722dc9d1d1d36ad0e91f8f (patch)
tree542bcf663cbd6bbf28a5452f7a15753c91be3bba /help/Makefile.am
parent408d562a5c8fa0bf0d879a1c9ef8510dbefceb3b (diff)
Try browsers for faq.txt generation silently.
svn path=/trunk/; revision=26999
Diffstat (limited to 'help/Makefile.am')
-rw-r--r--help/Makefile.am6
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