aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f709491..11984a5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+VERSION = 0.5
+
all: promisc_check
clean:
@@ -25,6 +27,14 @@ rpm: all
install -s src/promisc_check/promisc_check $(RPM_BUILD_ROOT)/usr/bin
echo "Install complete"
+dis: clean
+ rm -rf msec-$(VERSION) ../msec-$(VERSION).tar*
+ mkdir -p msec-$(VERSION)
+ find . -not -name "msec-$(VERSION)"|cpio -pd msec-$(VERSION)/
+ find msec-$(VERSION) -type d -name CVS|xargs rm -rf
+ tar cf ../msec-$(VERSION).tar msec-$(VERSION)
+ bzip2 ../msec-$(VERSION).tar
+
install:
(rm -rf /etc/security/msec)
(mkdir -p /etc/security/msec/init-sh)
@@ -50,5 +60,4 @@ install:
@echo
@echo "To switch between runlevel, just launch init.sh ( in init-sh dir )"
@echo
- @echo
-
+ @echo \ No newline at end of file