diff options
| author | Alan Conway <aconway@apache.org> | 2007-04-12 19:48:08 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-04-12 19:48:08 +0000 |
| commit | 52a1b1fbcaf2935874f8ab7b85a06d09eed4a94c (patch) | |
| tree | ec55039ef1a2767f14502a286227a84a02f1860b /qpid/cpp/Makefile.am | |
| parent | 88ae0751c93ffecd56ae1abf72554fb3d46be9da (diff) | |
| download | qpid-python-52a1b1fbcaf2935874f8ab7b85a06d09eed4a94c.tar.gz | |
* Add pgg-config support for downstream packages
* Bump version to 0.2 for downstream packages.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@528107 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/Makefile.am')
| -rw-r--r-- | qpid/cpp/Makefile.am | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/qpid/cpp/Makefile.am b/qpid/cpp/Makefile.am index 54e7041e99..1a7432ffe0 100644 --- a/qpid/cpp/Makefile.am +++ b/qpid/cpp/Makefile.am @@ -1,14 +1,19 @@ AUTOMAKE_OPTIONS = 1.9.2 foreign ACLOCAL_AMFLAGS = -I m4 -bin_SCRIPTS = qpid-config +# pkg-config data file. +pkgconfigdir = $(libdir)/pkgconfig +PC=$(PACKAGE).pc +pkgconfig_DATA = $(PC) + +BUILT_SOURCES=$(PACKAGE).pc SPEC=$(PACKAGE).spec EXTRA_DIST = \ LICENSE NOTICE README \ etc/qpidd \ - $(SPEC) $(SPEC).in \ + $(SPEC) $(SPEC).in $(PC) $(PC).in\ rpm/README.qpidd-devel SUBDIRS = src docs/api docs/man @@ -17,14 +22,6 @@ SUBDIRS = src docs/api docs/man libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status --recheck -# This cannot be done by AC_CONFIG_FILES, because automake's -# make distcheck target does not like auto-generated files -# being included in the distributed archive. -$(SPEC): %: %.in Makefile - sed 's/@''PACKAGE@/@PACKAGE@/;s/@''VERSION@/@VERSION@/' $< > $@-tmp - mv $@-tmp $@ -MAINTAINERCLEANFILES = $(SPEC) - # # Build RPMs from the distribution tarball. # |
