summaryrefslogtreecommitdiff
path: root/qpid/cpp/Makefile.am
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-12-23 17:20:37 +0000
committerAlan Conway <aconway@apache.org>2006-12-23 17:20:37 +0000
commit1a5f3f72cc85d88e23d47d4b7ccb52c281205942 (patch)
tree6956f3a3136b4676b45358706823ad3fe64ed060 /qpid/cpp/Makefile.am
parent42e76f82d4a28a521433a2542dae32436b98aef7 (diff)
downloadqpid-python-1a5f3f72cc85d88e23d47d4b7ccb52c281205942.tar.gz
- rpm: make rpm now builds RPMs under rpm/ directory.
- src/qpidd.cpp: added --daemon option to run as daemon. - etc/qpidd: fixed bugs in init.rc script. - qpidc.spec: fixed rpmlint warnings, added apache URL git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@489905 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/Makefile.am')
-rw-r--r--qpid/cpp/Makefile.am16
1 files changed, 4 insertions, 12 deletions
diff --git a/qpid/cpp/Makefile.am b/qpid/cpp/Makefile.am
index 9bcec9b312..703266f8e9 100644
--- a/qpid/cpp/Makefile.am
+++ b/qpid/cpp/Makefile.am
@@ -3,21 +3,13 @@ ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = README-dev DESIGN LICENSE.txt NOTICE.txt README.rhel3 README.txt etc/qpidd
-SUBDIRS = gen lib tests src docs/api docs/man
+SUBDIRS = gen lib tests src docs/api docs/man rpm
# Update libtool, if needed.
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
-# Convenience targets for making RPMs.
-RPM_TAR=/usr/src/redhat/SOURCES/$(distdir).tar.gz
+.PHONY: rpm srpm
-$(RPM_TAR): dist-gzip
- cp $(distdir).tar.gz $(RPM_TAR)
- rpmbuild -bs -v qpidc.spec
-
-srpm: $(RPM_TAR)
- rpmbuild -bs -v qpidc.spec
-
-rpm: $(RPM_TAR)
- rpmbuild -ba -v qpidc.spec
+rpm srpm:
+ cd rpm && $(MAKE) $(MAKEFLAGS_AM) $@