aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 83bce603..83645e2f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -443,8 +443,10 @@ doc.h: $(HDR_FILES)
cat $*.txt >>$@;
echo "*/" >>$@
-%: %.in
- $(SED) <$@.in >$@ \
+# Depend on Makefile because I don't see a better way of rebuilding
+# if any of the paths change.
+%: %.in Makefile FISH-BUILD-VERSION-FILE
+ $(SED) <$< >$@ \
-e "s,@sysconfdir\@,$(sysconfdir),g" \
-e "s,@datadir\@,$(datadir),g" \
-e "s,@docdir\@,$(docdir),g" \