[f-spot] More pkg-config file to build/pkg-config/
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot] More pkg-config file to build/pkg-config/
- Date: Fri, 14 May 2010 22:36:21 +0000 (UTC)
commit 613b9fed334949af4c2d7b8d41414612b3220dd5
Author: Ruben Vermeersch <ruben savanne be>
Date: Sat May 15 00:34:32 2010 +0200
More pkg-config file to build/pkg-config/
.gitignore | 2 +-
build/Makefile.am | 2 +-
build/pkg-config/Makefile.am | 11 +++++++++++
f-spot.pc.in => build/pkg-config/f-spot.pc.in | 0
configure.ac | 2 +-
5 files changed, 14 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1a6028d..d04c107 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,7 +17,6 @@ Makefile.in
/f-spot-view.desktop.in
/f-spot.desktop
/f-spot.desktop.in
-/f-spot.pc
/f-spot.schemas
/f-spot.spec
/f-spot.pidb
@@ -39,4 +38,5 @@ Makefile.in
/stamp-h1
build/m4/shave/shave
build/m4/shave/shave-libtool
+build/pkg-config/f-spot.pc
docs/*/*.mo
diff --git a/build/Makefile.am b/build/Makefile.am
index f811656..a57e338 100644
--- a/build/Makefile.am
+++ b/build/Makefile.am
@@ -1,3 +1,3 @@
-SUBDIRS = m4
+SUBDIRS = pkg-config m4
MAINTAINERCLEANFILES = Makefile.in
diff --git a/build/pkg-config/Makefile.am b/build/pkg-config/Makefile.am
new file mode 100644
index 0000000..43151d2
--- /dev/null
+++ b/build/pkg-config/Makefile.am
@@ -0,0 +1,11 @@
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_in_files = $(wildcard f-spot*.pc.in)
+pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc)
+
+%.pc: %.pc.in
+ sed "s,\ VERSION\@,$(VERSION),g; s,\ prefix\@,$(prefix),g; s,\ libdir\@,$(libdir),g" < $< > $@
+
+EXTRA_DIST = $(pkgconfig_in_files)
+
+CLEANFILES = $(pkgconfig_DATA)
+MAINTAINERCLEANFILES = Makefile.in
diff --git a/f-spot.pc.in b/build/pkg-config/f-spot.pc.in
similarity index 100%
rename from f-spot.pc.in
rename to build/pkg-config/f-spot.pc.in
diff --git a/configure.ac b/configure.ac
index b8abc48..0c595e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -333,6 +333,7 @@ build/Makefile
build/m4/Makefile
build/m4/shave/shave
build/m4/shave/shave-libtool
+build/pkg-config/Makefile
lib/dpap-sharp/Makefile
lib/dpap-sharp/lib/Makefile
@@ -401,7 +402,6 @@ extensions/Transitions/Makefile
extensions/Transitions/CoverTransition/Makefile
tests/Makefile
tests/src/Makefile
-f-spot.pc
f-spot.spec
f-spot.desktop.in
f-spot-view.desktop.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]