mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
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.
This commit is contained in:
parent
46241e383f
commit
3c8b344a41
1 changed files with 4 additions and 2 deletions
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue