summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--help/Makefile.am6
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 7851751555..ef156f929a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -787,7 +787,7 @@ else
SUBDIRS = tools wsutil wiretap doc epan packaging help @wireshark_SUBDIRS@
endif
-FAQ: help/faq.txt help/faq.py
+FAQ: help/faq.txt $(srcdir)/help/faq.py
(cd help ; \
$(MAKE) faq.txt ; \
cp faq.txt ../FAQ )
diff --git a/help/Makefile.am b/help/Makefile.am
index 7caf4df5b2..7d2c866524 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -34,7 +34,7 @@ help_DATA = \
faq.txt \
overview.txt
-EXTRA_DIST = $(help_DATA) Makefile.nmake faq.py
+EXTRA_DIST = $(help_DATA) Makefile.nmake $(srcdir)/faq.py
CLEANFILES = faq.txt
@@ -42,8 +42,8 @@ MAINTAINERCLEANFILES = \
Makefile.in
# Try our best to convert the FAQ to text.
-faq.txt: faq.py
- ./faq.py >$@.tmp
+faq.txt: $(srcdir)/faq.py
+ $(srcdir)/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 > $@