]> err.no Git - libchamplain/commitdiff
Generate the correctly named pc files
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Wed, 20 May 2009 14:39:14 +0000 (10:39 -0400)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Wed, 20 May 2009 14:48:40 +0000 (10:48 -0400)
if champlain-0.3 is requested, pkgconfig will look for champlain-0.3-uninstalled
first, not champlain-uninstalled

Makefile.am

index 004e26a8cabc5f662020ae1ef0be2f77aa6ede7e..529a5b261b180a26841540264e2d2cd732327f80 100644 (file)
@@ -2,15 +2,19 @@ SUBDIRS = tidy champlain docs/reference
 
 ACLOCAL_AMFLAGS = -I m4
 
-pcfiles = champlain-@API_VERSION@.pc
+pcfiles = champlain-@API_VERSION@.pc champlain-@API_VERSION@-uninstalled.pc
 champlain-@API_VERSION@.pc: champlain.pc
        @cp -f $< $@
+champlain-@API_VERSION@-uninstalled.pc: champlain-uninstalled.pc
+       @cp -f $< $@
 
 if ENABLE_GTK
 SUBDIRS += champlain-gtk docs/reference-gtk
-pcfiles += champlain-gtk-@API_VERSION@.pc
+pcfiles += champlain-gtk-@API_VERSION@.pc champlain-gtk-@API_VERSION@-uninstalled.pc
 champlain-gtk-@API_VERSION@.pc: champlain-gtk.pc
        @cp -f $< $@
+champlain-gtk-@API_VERSION@-uninstalled.pc: champlain-gtk-uninstalled.pc
+       @cp -f $< $@
 endif
 
 pkgconfig_DATA = $(pcfiles)