[hyena] [build] Whoops, pkg-config files weren't installed



commit 192ac12b902bd0c309fbb30cd213ec8b3cf8670a
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Wed Jun 16 16:03:42 2010 -0700

    [build] Whoops, pkg-config files weren't installed
    
    Caused by the recent build changes, no doubt.

 Makefile.am  |   12 ++++++++++++
 configure.ac |    3 ---
 2 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 361bdae..42e9ac6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -28,6 +28,18 @@ test:
 	echo "Tests not enabled.  Pass --enable-tests to configure or ./autogen.sh"
 endif
 
+# pkg-config
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_in_files = \
+	src/Hyena/hyena.pc.in \
+	src/Hyena.Data.Sqlite/hyena.data.sqlite.pc.in \
+	src/Hyena.Gui/hyena.gui.pc.in
+pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc)
+EXTRA_DIST = $(pkgconfig_in_files)
+CLEANFILES = $(pkgconfig_DATA)
+%.pc: $(pkgconfig_in_files)
+	sed "s,\ VERSION\@,$(VERSION),g; s,\ prefix\@,$(prefix),g; s,\ libdir\@,$(libdir),g" < $< > $@
+
 MAINTAINERCLEANFILES = \
 	compile \
 	INSTALL \
diff --git a/configure.ac b/configure.ac
index 7006eba..d71e365 100644
--- a/configure.ac
+++ b/configure.ac
@@ -105,11 +105,8 @@ build/Makefile
 build/m4/Makefile
 
 src/Mono.Data.Sqlite/Makefile
-src/Hyena/hyena.pc
 src/Hyena/Makefile
-src/Hyena.Data.Sqlite/hyena.data.sqlite.pc
 src/Hyena.Data.Sqlite/Makefile
-src/Hyena.Gui/hyena.gui.pc
 src/Hyena.Gui/Makefile
 ])
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]