aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-15 20:36:15 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-15 20:36:15 +0000
commitcfc085544f24c2113f40f44f906a865b93695d34 (patch)
treea6431f11a8b619b54506e81eb99caf0449b16626 /Makefile
parentbf044420d6b42025d7b46c172a38afd06d786fd9 (diff)
downloadmsec-cfc085544f24c2113f40f44f906a865b93695d34.tar
msec-cfc085544f24c2113f40f44f906a865b93695d34.tar.gz
msec-cfc085544f24c2113f40f44f906a865b93695d34.tar.bz2
msec-cfc085544f24c2113f40f44f906a865b93695d34.tar.xz
msec-cfc085544f24c2113f40f44f906a865b93695d34.zip
enable to build srpm only
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8c6985f..1780cab 100644
--- a/Makefile
+++ b/Makefile
@@ -50,6 +50,8 @@ version:
# rules to build a test rpm
+localsrpm: clean localdist buildsrpm
+
localrpm: clean localdist buildrpm
localdist: cleandist dir localcopy tar
@@ -69,6 +71,9 @@ tar:
bzip2 -9vf $(PACKAGE)-$(VERSION).tar
rm -rf $(PACKAGE)-$(VERSION)
+buildsrpm:
+ rpm -ts $(PACKAGE)-$(VERSION).tar.bz2
+
buildrpm:
rpm -ta $(PACKAGE)-$(VERSION).tar.bz2