summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-04-10 16:52:29 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-04-10 16:52:29 +0000
commitd2c5ffa02072d168354cfe01f277f6037d223596 (patch)
treeedb9a9a49276de5fede861a8c807b7493acf2fea
parent66751f45b395baf3c91aa62a81ce644e0ba800b4 (diff)
downloadmgaonline-d2c5ffa02072d168354cfe01f277f6037d223596.tar
mgaonline-d2c5ffa02072d168354cfe01f277f6037d223596.tar.gz
mgaonline-d2c5ffa02072d168354cfe01f277f6037d223596.tar.bz2
mgaonline-d2c5ffa02072d168354cfe01f277f6037d223596.tar.xz
mgaonline-d2c5ffa02072d168354cfe01f277f6037d223596.zip
(localsrpm,buildsrpm) introduce these rules
-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