summaryrefslogtreecommitdiff
path: root/help/Makefile.am
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2008-12-13 00:58:43 +0000
committerGerald Combs <gerald@wireshark.org>2008-12-13 00:58:43 +0000
commit8a1109396a7295bc11f2eb474afc83ba3a1bc7f5 (patch)
treefa29d7e81b1b0da4ce653befb63402da35c17f98 /help/Makefile.am
parent097002bb0d8e1693935c8f7039c4277587bdba98 (diff)
downloadwireshark-8a1109396a7295bc11f2eb474afc83ba3a1bc7f5.tar.gz
Update faq.py to generate a full HTML document by default. Pull in a typo
fix from FAQ. Update the makefiles to build help/faq.txt and FAQ. Remove help/faq.txt and FAQ from the repository, since they're automatically generated now. Remove the make-faq script. svn path=/trunk/; revision=26980
Diffstat (limited to 'help/Makefile.am')
-rw-r--r--help/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/help/Makefile.am b/help/Makefile.am
index a7b5181003..4c3e7fd10c 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -34,10 +34,15 @@ help_DATA = \
faq.txt \
overview.txt
-EXTRA_DIST = $(help_DATA) Makefile.nmake
+EXTRA_DIST = $(help_DATA) Makefile.nmake faq.py
-CLEANFILES =
+CLEANFILES = faq.txt
MAINTAINERCLEANFILES = \
Makefile.in
+# Try our best to convert the FAQ to text.
+faq.txt: faq.py
+ elinks -dump -dump-width 72 < $< > $@ || \
+ links -dump -width 72 < $< > $@ || \
+ lynx -dump -width=72 -nolist -stdin -force-html < $< > $@