summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 501230d7..59564ac8 100644
--- a/Makefile
+++ b/Makefile
@@ -57,6 +57,8 @@ install: all
localrpm: clean localdist buildrpm
+localsrpm: clean localdist buildsrpm
+
localdist: cleandist dir localcopy tar
cleandist:
@@ -78,6 +80,10 @@ buildrpm:
rpm -ta ../$(PACKAGE)-$(VERSION).tar.bz2
rm -f ../$(PACKAGE)-$(VERSION).tar.bz2
+buildsrpm:
+ rpm -ts ../$(PACKAGE)-$(VERSION).tar.bz2
+ rm -f ../$(PACKAGE)-$(VERSION).tar.bz2
+
# rules to build a distributable rpm
rpm: changelog cvstag dist buildrpm