]> err.no Git - libchamplain/commitdiff
Fix Bug 584775: build system installs "uninstalled" version of the packages
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Wed, 3 Jun 2009 21:19:43 +0000 (17:19 -0400)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Wed, 3 Jun 2009 21:19:43 +0000 (17:19 -0400)
Don't install -uninstalled.pc files

Makefile.am

index 529a5b261b180a26841540264e2d2cd732327f80..11701a525dbc6ca76ee87f7016fdea8ee72de1ce 100644 (file)
@@ -2,7 +2,8 @@ SUBDIRS = tidy champlain docs/reference
 
 ACLOCAL_AMFLAGS = -I m4
 
-pcfiles = champlain-@API_VERSION@.pc champlain-@API_VERSION@-uninstalled.pc
+pcfiles = champlain-@API_VERSION@.pc
+other_pcfiles = champlain-@API_VERSION@-uninstalled.pc
 champlain-@API_VERSION@.pc: champlain.pc
        @cp -f $< $@
 champlain-@API_VERSION@-uninstalled.pc: champlain-uninstalled.pc
@@ -10,9 +11,10 @@ champlain-@API_VERSION@-uninstalled.pc: champlain-uninstalled.pc
 
 if ENABLE_GTK
 SUBDIRS += champlain-gtk docs/reference-gtk
-pcfiles += champlain-gtk-@API_VERSION@.pc champlain-gtk-@API_VERSION@-uninstalled.pc
+pcfiles += champlain-gtk-@API_VERSION@.pc
 champlain-gtk-@API_VERSION@.pc: champlain-gtk.pc
        @cp -f $< $@
+other_pcfiles += champlain-gtk-@API_VERSION@-uninstalled.pc
 champlain-gtk-@API_VERSION@-uninstalled.pc: champlain-gtk-uninstalled.pc
        @cp -f $< $@
 endif
@@ -22,7 +24,8 @@ pkgconfigdir = $(libdir)/pkgconfig
 
 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
 
-CLEANFILES = $(pcfiles)
+CLEANFILES = $(pcfiles) $(other_pcfiles)
+all: $(other_pcfiles)
 
 # Have the demos build at the end as they depend on optional parts
 SUBDIRS += demos bindings