[gtk+] Add per-target pc files back
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Add per-target pc files back
- Date: Tue, 21 Dec 2010 17:10:41 +0000 (UTC)
commit fa4b54b6de4156403f413b95bdb48ab4bd9e20a4
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 10 14:44:50 2010 -0500
Add per-target pc files back
Dropping those will be an unnecessary pain.
Makefile.am | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 68002d7..c95b0e6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,9 +54,21 @@ MAINTAINERCLEANFILES = \
$(srcdir)/ChangeLog \
`find "$(srcdir)" -type f -name Makefile.in -print`
+
+## Copy .pc files to target-specific names
+gtk+-x11-3.0.pc gtk+-win32-3.0.pc gtk+-quartz-3.0.pc: gtk+-3.0.pc
+ rm -f $@ && \
+ cp gtk+-3.0.pc $@
+
+gtk+-*-3.0-uninstalled.pc: gtk+-3.0-uninstalled.pc
+ rm -f $@ && \
+ cp gtk+-3.0-uninstalled.pc $@
+
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gtk+-3.0.pc gail-3.0.pc
+pkgconfig_DATA += $(patsubst %,gtk+-%-3.0.pc,@gdktarget@)
+
if OS_UNIX
pkgconfig_DATA += gtk+-unix-print-3.0.pc
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]