aboutsummaryrefslogtreecommitdiffstats
path: root/help/Makefile.am
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-12-14 23:56:51 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-12-14 23:56:51 +0000
commitadf9b77ac1a6e9c6365638d05c50c18569280275 (patch)
treea7c48cfcc3cba34e6cf1069f31af9a1185f733d6 /help/Makefile.am
parentf2dbebb88560fde571e2642b67dccf000984d69d (diff)
From Didier Gautheron (bug 3121):
User srcdir in Makefiles for faq.py. svn path=/trunk/; revision=26996
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 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 > $@