aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-03-07 16:45:04 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-03-07 16:45:04 +0000
commit7b7859e7b69b54e30eb181857e608f5cccce999a (patch)
tree56ac44e36fe8e86506db726b5e54ebc9e3f82222 /Makefile
parente67d4c05d0d218ede7f02ffc9b86dc2c95f75d1d (diff)
downloadmsec-7b7859e7b69b54e30eb181857e608f5cccce999a.tar
msec-7b7859e7b69b54e30eb181857e608f5cccce999a.tar.gz
msec-7b7859e7b69b54e30eb181857e608f5cccce999a.tar.bz2
msec-7b7859e7b69b54e30eb181857e608f5cccce999a.tar.xz
msec-7b7859e7b69b54e30eb181857e608f5cccce999a.zip
*** empty log message ***
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 12 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index 24f8467..3085b4f 100644
--- a/Makefile
+++ b/Makefile
@@ -51,21 +51,19 @@ rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM)
rm -f ../$(NAME)-$(VERSION).tar.bz2
install:
- (rm -rf /etc/security/msec)
- (mkdir -p /etc/security/msec/init-sh)
- (cp init-sh/level* /etc/security/msec/init-sh)
- (cp init-sh/init.sh /etc/security/msec/init.sh);
- (cp init-sh/lib.sh /etc/security/msec/init-sh);
- (cp init-sh/grpuser.sh /etc/security/msec/init-sh);
- (cp init-sh/file_perm.sh /etc/security/msec/init-sh);
- (cp init-sh/*.[0-5] /etc/security/msec/init-sh/)
- (cp init-sh/custom.sh /etc/security/msec/init-sh);
- (cp init-sh/server.* /etc/security/msec/init-sh)
+ (rm -rf $(RPM_BUILD_ROOT)/etc/security/msec)
+ (mkdir -p $(RPM_BUILD_ROOT)/etc/security/msec)
+ (mkdir -p $(RPM_BUILD_ROOT)/usr/share/msec)
+ (cp init-sh/*.sh $(RPM_BUILD_ROOT)/usr/share/msec)
+ (cp cron-sh/*.sh $(RPM_BUILD_ROOT)/usr/share/msec)
+ (cp init-sh/msec $(RPM_BUILD_ROOT)/usr/sbin)
+ (cp conf/perm.* conf/server.* $(RPM_BUILD_ROOT)/etc/security/msec)
+
(touch $(RPM_BUILD_ROOT)/etc/security/msec/security.conf)
- touch $(RPM_BUILD_ROOT)/var/log/security.log
- mkdir -p $(RPM_BUILD_ROOT)/var/log/security
- (cd src/promisc_check; make install)
- (cd cron-sh; make install)
+ (touch $(RPM_BUILD_ROOT)/var/log/security.log)
+ (mkdir -p $(RPM_BUILD_ROOT)/var/log/security)
+ (cd src/promisc_check && make install)
+ (cd cron-sh && make install)
@echo
@echo