Răsfoiți Sursa

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
Jim Meyering 17 ani în urmă
părinte
comite
6cee2d234d
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      pkgconfig/Makefile.am

+ 2 - 2
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' \