fix missing-dependency bug, so as not to install bogus .pc files

* pkgconfig/Makefile.am (all .pc files): Depend on Makefile, so that
a change in $(prefix) there provokes regeneration of these files.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2170 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Jim Meyering 2009-05-06 06:54:07 +00:00
parent 29c015615d
commit 6cee2d234d

View File

@ -39,7 +39,7 @@ target_LIBS = $(LIBS:%=lib%.pc)
target_PACKAGE = corosync.pc
lib%.pc: libtemplate.pc.in
lib%.pc: libtemplate.pc.in Makefile
rm -f $@-t $@
sed \
-e 's#@PREFIX@#$(exec_prefix)#g' \
@ -50,7 +50,7 @@ lib%.pc: libtemplate.pc.in
chmod a-w $@-t
mv $@-t $@
%: %.in
%: %.in Makefile
rm -f $@-t $@
sed \
-e 's#@PREFIX@#$(exec_prefix)#g' \