aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChmouel Boudjnah <chmouel@mandriva.org>1999-12-08 02:49:28 +0000
committerChmouel Boudjnah <chmouel@mandriva.org>1999-12-08 02:49:28 +0000
commitf6e711e44dbb883790bdf6a566aa4628e488e14c (patch)
tree840db28cc253a2bdd39773315f471084e520b17c /Makefile
parent865fb5cc2ef6b1be89cc4c70013836919eefa350 (diff)
downloadmsec-f6e711e44dbb883790bdf6a566aa4628e488e14c.tar
msec-f6e711e44dbb883790bdf6a566aa4628e488e14c.tar.gz
msec-f6e711e44dbb883790bdf6a566aa4628e488e14c.tar.bz2
msec-f6e711e44dbb883790bdf6a566aa4628e488e14c.tar.xz
msec-f6e711e44dbb883790bdf6a566aa4628e488e14c.zip
"See_The_Changelog"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 11984a5..35d9da0 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ clean:
promisc_check:
(cd src/promisc_check; make)
-rpm: all
+rpm_install: all
rm -rf $(RPM_BUILD_ROOT)
mkdir -p $(RPM_BUILD_ROOT)/etc/security/msec/{init-sh,cron-sh}/
mkdir -p $(RPM_BUILD_ROOT)/usr/bin
@@ -32,8 +32,10 @@ dis: clean
mkdir -p msec-$(VERSION)
find . -not -name "msec-$(VERSION)"|cpio -pd msec-$(VERSION)/
find msec-$(VERSION) -type d -name CVS|xargs rm -rf
+ perl -p -i -e 's|^%define version.*|%define version $(VERSION)|' msec.spec
tar cf ../msec-$(VERSION).tar msec-$(VERSION)
- bzip2 ../msec-$(VERSION).tar
+ bzip2 -9f ../msec-$(VERSION).tar
+ rm -rf msec-$(VERSION)
install:
(rm -rf /etc/security/msec)