diff options
| author | Alan Conway <aconway@apache.org> | 2006-12-20 14:40:09 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2006-12-20 14:40:09 +0000 |
| commit | 7ec92c0a43be9e5934b35565a7f46eb83e36f6d1 (patch) | |
| tree | 694de1477f2aa90c42670f0d29e77f7e7c8e8e19 /cpp/Makefile.am | |
| parent | 2007833bd485fccbd03551841fc67f89f6f1424b (diff) | |
| download | qpid-python-7ec92c0a43be9e5934b35565a7f46eb83e36f6d1.tar.gz | |
make rpm in cpp directory builds qpidc RPMs in default locations.
Note: you need to chown or chmod the directories under
/usr/src/redhat/RPMS/i386 to be writable for this to work, there is
probably a better solution. Building RPMs as root is a Bad Idea.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489103 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/Makefile.am')
| -rw-r--r-- | cpp/Makefile.am | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/cpp/Makefile.am b/cpp/Makefile.am index 17803f6b80..9bcec9b312 100644 --- a/cpp/Makefile.am +++ b/cpp/Makefile.am @@ -1,10 +1,7 @@ AUTOMAKE_OPTIONS = 1.9.2 foreign ACLOCAL_AMFLAGS = -I m4 -EXTRA_DIST = README.txt README-dev DESIGN LICENSE.txt NOTICE.txt README.rhel3 -dist_doc_DATA = README.txt - -dist_sysconf_DATA = etc/init.d/qpidd +EXTRA_DIST = README-dev DESIGN LICENSE.txt NOTICE.txt README.rhel3 README.txt etc/qpidd SUBDIRS = gen lib tests src docs/api docs/man @@ -12,3 +9,15 @@ SUBDIRS = gen lib tests src docs/api docs/man libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status --recheck +# Convenience targets for making RPMs. +RPM_TAR=/usr/src/redhat/SOURCES/$(distdir).tar.gz + +$(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 |
