From 3c8b344a4107c98456bc1b49ce47e7c8f0daaf79 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Mon, 6 Oct 2014 19:02:43 -0700 Subject: 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. --- Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile.in') 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" \ -- cgit v1.2.3