diff options
author | Kevin Ballard <kevin@sb.org> | 2014-10-06 19:02:43 -0700 |
---|---|---|
committer | Kevin Ballard <kevin@sb.org> | 2014-10-06 19:08:26 -0700 |
commit | 3c8b344a4107c98456bc1b49ce47e7c8f0daaf79 (patch) | |
tree | 4806bfbcfbe4741ec6d3ec70d13bc909d3bc5768 /Makefile.in | |
parent | 46241e383f3f724a97b80c050ff265d9f7486420 (diff) |
Rebuild fish.pc as appropriate
Re-running ./configure will cause fish.pc to rebuild, in case any of the
paths changed. It looks like this actually won't rebuild the rest of
fish, but figuring out how to handle that is out of scope for this
commit.
More importantly, this will rebuild fish.pc when the version string
changes.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 6 |
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" \ |