summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJP Rosevear <jpr@novell.com>2004-09-23 16:45:29 +0000
committerJP Rosevear <jpr@src.gnome.org>2004-09-23 16:45:29 +0000
commitba397da53ecfa5bf3d812ec948b0efd4afda54f7 (patch)
treec77258baa97124b4bca814f2d1e102d7fdadb51c /Makefile.am
parent609b304ab55d0464adf5a9c95787f2f9a85daa1b (diff)
downloadevolution-data-server-ba397da53ecfa5bf3d812ec948b0efd4afda54f7.tar.gz
don't hard code pkg config version
2004-09-23 JP Rosevear <jpr@novell.com> * Makefile.am: don't hard code pkg config version * configure.in: bump version, reset libtool versions because the library is now versioned * libedataserver/Makefile.am: build versioned lib and version pkgconfig stuff * src/Makefile.am: link against versioned libs 2004-09-23 JP Rosevear <jpr@novell.com> * Makefile.am: build versioned library and don't hard code pkg config name 2004-09-23 JP Rosevear <jpr@novell.com> * libebook/Makefile.am: build a versioned lib, don't hard code the pkgconfig version * libedata-book/Makefile.am: ditto * backends/file/Makefile.am: link against the correct library version * backends/groupwise/Makefile.am: ditto * backends/vcf/Makefile.am: ditto * backends/ldap/Makefile.am: ditto * tests/vcard/Makefile.am: ditto * tests/ebook/Makefile.am: ditto 2004-09-23 JP Rosevear <jpr@novell.com> * libecal/Makefile.am: build a versioned lib, don't hard code the pkgconfig version * libedata-cal/Makefile.am: ditto * backends/file/Makefile.am: link against the correct library version * backends/http/Makefile.am: ditto * backends/groupwise/Makefile.am: ditto * backends/contacts/Makefile.am: ditto * tests/ecal/Makefile.am: ditto
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am33
1 files changed, 18 insertions, 15 deletions
diff --git a/Makefile.am b/Makefile.am
index 95c181501..f726f1b6a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,25 +7,28 @@ DIST_SUBDIRS= libedataserver servers addressbook calendar src docs po
changelogs = \
ChangeLog
+%-$(BASE_VERSION).pc: %.pc
+ cp $< $@
+
pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = evolution-data-server-1.0.pc
+pkgconfig_DATA = evolution-data-server-$(BASE_VERSION).pc
-EXTRA_DIST = \
- AUTHORS \
- $(changelogs) \
- README \
- HACKING \
- MAINTAINERS \
- TODO \
- NEWS \
- marshal.mk \
- intltool-merge.in \
- intltool-update.in \
- intltool-extract.in \
- $(pkgconfig_DATA:.pc=.pc.in) \
+EXTRA_DIST = \
+ AUTHORS \
+ $(changelogs) \
+ README \
+ HACKING \
+ MAINTAINERS \
+ TODO \
+ NEWS \
+ marshal.mk \
+ intltool-merge.in \
+ intltool-update.in \
+ intltool-extract.in \
+ $(pkgconfig_DATA:-$(BASE_VERSION).pc=.pc.in) \
$(LIBDB_FILES)
-DISTCLEANFILES = intltool-extract intltool-merge intltool-update
+DISTCLEANFILES = intltool-extract intltool-merge intltool-update $(pkgconfig_DATA)
distclean-local:
(cd libdb && $(MAKE) $(AM_MAKEFLAGS) distclean)