From 6cee2d234d1d9d8c6b84a69a0877d37ff9505142 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 6 May 2009 06:54:07 +0000 Subject: [PATCH] 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 --- pkgconfig/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgconfig/Makefile.am b/pkgconfig/Makefile.am index 4fc618c2..d43a692a 100644 --- a/pkgconfig/Makefile.am +++ b/pkgconfig/Makefile.am @@ -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' \