aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaviddavid <geiger.david68210@gmail.com>2016-09-21 13:00:15 +0200
committerdaviddavid <geiger.david68210@gmail.com>2016-09-21 13:00:15 +0200
commit2398534ef791e86451b547da747723d04aad6c2c (patch)
tree3bf1ab49efe53313cb0c333bccd226523d4be201
parent1eca36c05cd8be3f16d24a77cd58396ff8a629c9 (diff)
downloadmsec-2398534ef791e86451b547da747723d04aad6c2c.tar
msec-2398534ef791e86451b547da747723d04aad6c2c.tar.gz
msec-2398534ef791e86451b547da747723d04aad6c2c.tar.bz2
msec-2398534ef791e86451b547da747723d04aad6c2c.tar.xz
msec-2398534ef791e86451b547da747723d04aad6c2c.zip
Clean a bit Makefile
-rw-r--r--Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 58a08f1..7563ef1 100644
--- a/Makefile
+++ b/Makefile
@@ -37,21 +37,21 @@ install: all
$(MAKE) -C cron-sh $@
# install main msec files
for i in libmsec.py config.py msec.py msecperms.py msecgui.py help.py version.py tools.py; do \
- install -m755 src/msec/$$i $(RPM_BUILD_ROOT)/usr/share/msec ; \
- install -m755 src/msec/$${i}o $(RPM_BUILD_ROOT)/usr/share/msec ; \
+ install -m 755 src/msec/$$i $(RPM_BUILD_ROOT)/usr/share/msec ; \
+ install -m 755 src/msec/$${i}o $(RPM_BUILD_ROOT)/usr/share/msec ; \
done
# install plugins
for i in pam.py audit.py msec.py network.py sectool.py ; do \
- install -m755 src/msec/plugins/$$i $(RPM_BUILD_ROOT)/usr/share/msec/plugins ; \
- install -m755 src/msec/plugins/$${i}o $(RPM_BUILD_ROOT)/usr/share/msec/plugins ; \
+ install -m 755 src/msec/plugins/$$i $(RPM_BUILD_ROOT)/usr/share/msec/plugins ; \
+ install -m 755 src/msec/plugins/$${i}o $(RPM_BUILD_ROOT)/usr/share/msec/plugins ; \
done
# install sbin files
for i in msec msecperms msecgui; do \
- install -m755 src/msec/$$i $(RPM_BUILD_ROOT)/usr/sbin ; \
+ install -m 755 src/msec/$$i $(RPM_BUILD_ROOT)/usr/sbin ; \
done
cp conf/perm.* conf/server.* conf/level.* $(RPM_BUILD_ROOT)/etc/security/msec
# install banner
- install -m755 src/msec/msec.png $(RPM_BUILD_ROOT)/usr/share/msec
+ install -m 755 src/msec/msec.png $(RPM_BUILD_ROOT)/usr/share/msec
mkdir -p $(RPM_BUILD_ROOT)/var/log
mkdir -p $(RPM_BUILD_ROOT)/var/log/security
@@ -61,7 +61,7 @@ install: all
cd src/msec_find && make install
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/
+ install -m 644 man/C/*8 $(RPM_BUILD_ROOT)/usr/share/man/man8/
for i in man/??* ; do \
install -d $(RPM_BUILD_ROOT)/usr/share/man/`basename $$i`/man8 ; \
install -m 644 $$i/*.8 $(RPM_BUILD_ROOT)/usr/share/man/`basename $$i`/man8 ; \
@@ -69,12 +69,12 @@ install: all
# profile.d config
mkdir -p $(RPM_BUILD_ROOT)/etc/profile.d/
- install -m644 profile.d/msec.sh $(RPM_BUILD_ROOT)/etc/profile.d/01msec.sh
- install -m644 profile.d/msec.csh $(RPM_BUILD_ROOT)/etc/profile.d/01msec.csh
+ install -m 644 profile.d/msec.sh $(RPM_BUILD_ROOT)/etc/profile.d/01msec.sh
+ install -m 644 profile.d/msec.csh $(RPM_BUILD_ROOT)/etc/profile.d/01msec.csh
# logrotate
mkdir -p $(RPM_BUILD_ROOT)/etc/logrotate.d
- install -m644 msec.logrotate $(RPM_BUILD_ROOT)/etc/logrotate.d/msec
+ install -m 644 msec.logrotate $(RPM_BUILD_ROOT)/etc/logrotate.d/msec
# locale
$(MAKE) -C po $@