From 2398534ef791e86451b547da747723d04aad6c2c Mon Sep 17 00:00:00 2001 From: daviddavid Date: Wed, 21 Sep 2016 13:00:15 +0200 Subject: Clean a bit Makefile --- Makefile | 20 ++++++++++---------- 1 file 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 $@ -- cgit v1.2.1