Try to get the FAQ targets working on Windows. Add lynx to the list of
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 13 Dec 2008 02:59:42 +0000 (02:59 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 13 Dec 2008 02:59:42 +0000 (02:59 +0000)
required tools.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26982 f5534014-38df-0310-8fa8-9805f1628bb7

Makefile.nmake
help/Makefile.nmake

index 3e4204e052778427ea3748a7d7ec44c2dda7bd25..50c2665cda2c3524e05e24db0357d4a85603a840 100644 (file)
@@ -644,6 +644,13 @@ doxygen-run:
 
 doxygen: doxygen.cfg doxygen-run
 
+FAQ: help\faq.txt help\faq.py
+       cd help
+       $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake faq.txt
+       cp faq.txt ..\FAQ
+       cd ..
+       
+
 ################################################################################
 # Prepare build environment by downloading and installing required libraries
 ################################################################################
@@ -664,6 +671,7 @@ REQUIRED_TOOLS=\
        $(YACC) \
        $(LEX)  \
        env     \
+       lynx    \
        grep    \
        /usr/bin/find   \
        $(PERL) \
index 11a8d2564d9b91ba231e607e67e7e67b2fe20902..cb456621221ef1fe1317a09a090e3eda457ff85d 100644 (file)
@@ -8,7 +8,11 @@ include ..\config.nmake
 ############### no need to modify below this line #########
 
 clean:
+       rm -rf faq.txt
 
 distclean: clean
 
 maintainer-clean: distclean
+
+faq.txt: faq.py
+       $(PYTHON) faq.py | lynx -dump -width=72 -nolist -stdin -force-html > $@