aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-08-19 21:09:21 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-08-19 21:09:21 +0000
commitb941d5a267337b212be94bc489531469cc3e9e2a (patch)
treed8287f3c6b25f0bf37f01658658e4ccbb3a91dbd
parent87a2e934251a85bb35f8e978627df64900815cca (diff)
downloadmsec-b941d5a267337b212be94bc489531469cc3e9e2a.tar
msec-b941d5a267337b212be94bc489531469cc3e9e2a.tar.gz
msec-b941d5a267337b212be94bc489531469cc3e9e2a.tar.bz2
msec-b941d5a267337b212be94bc489531469cc3e9e2a.tar.xz
msec-b941d5a267337b212be94bc489531469cc3e9e2a.zip
use $(RPM_BUILD_ROOT) instead of $RPM_BUILD_ROOT
-rw-r--r--Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 6e3b45e..5da2420 100644
--- a/Makefile
+++ b/Makefile
@@ -22,21 +22,21 @@ python:
-cd share; make
install:
- mkdir -p $RPM_BUILD_ROOT/etc/security/msec
- mkdir -p $RPM_BUILD_ROOT/usr/share/msec
- mkdir -p $RPM_BUILD_ROOT/usr/sbin
- 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
-
- mkdir -p $RPM_BUILD_ROOT/var/log
- mkdir -p $RPM_BUILD_ROOT/var/log/security
- touch $RPM_BUILD_ROOT/etc/security/msec/security.conf
- touch $RPM_BUILD_ROOT/var/log/security.log
+ mkdir -p $(RPM_BUILD_ROOT)/etc/security/msec
+ mkdir -p $(RPM_BUILD_ROOT)/usr/share/msec
+ mkdir -p $(RPM_BUILD_ROOT)/usr/sbin
+ 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
+
+ mkdir -p $(RPM_BUILD_ROOT)/var/log
+ mkdir -p $(RPM_BUILD_ROOT)/var/log/security
+ touch $(RPM_BUILD_ROOT)/etc/security/msec/security.conf
+ touch $(RPM_BUILD_ROOT)/var/log/security.log
cd src/promisc_check && make install
cd src/msec_find && make install
- mkdir -p $RPM_BUILD_ROOT/usr/share/man/man8/
+ mkdir -p $(RPM_BUILD_ROOT)/usr/share/man/man8/
install -d $(RPM_BUILD_ROOT)/usr/share/man/man8/
install -m644 man/C/*8 $(RPM_BUILD_ROOT)/usr/share/man/man8/
for i in man/??* ; do \