summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-03-18 05:10:28 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-03-18 05:10:28 +0000
commit2c2b788bc8fa007417b304c32cdc35f16c30d81e (patch)
tree53b9adb1f000640ab4f534bee1d13f1d8888f5f7 /Makefile.am
parentea04b9d976235816887d949bf8b191e9c263b7ba (diff)
downloadgpsd-2c2b788bc8fa007417b304c32cdc35f16c30d81e.tar.gz
Add mrd's RPM-building production.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 5fd125cb..9c028bfd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -544,6 +544,13 @@ unstable-makeregress: gpsd
# Release machinery begins here
#
+
+# Make RPM from the specfile in packaging
+dist-rpm: distdir
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ rpmbuild -ta $(distdir).tar.gz
+ $(am__remove_distdir)
+
# This is how to ship a release to Berlios incomoing.
# It requires developer access verified via ssh.
#
@@ -563,3 +570,4 @@ svn-tag:
# Ship a release, providing all regression tests pass.
#
ship: testregress dist upload-ftp svn-tag
+