aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-02-25 19:44:50 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-02-25 19:44:50 +0000
commit4a6a6d4fd2d6e091587a963e6687fe1c2ff9d5c4 (patch)
tree53b7621dc18e4d3c1a76d4f977f7dc553ebfd53f /Makefile
parentbea97c082f9d7138e30638ede7d91a2538c8da7a (diff)
downloadmsec-4a6a6d4fd2d6e091587a963e6687fe1c2ff9d5c4.tar
msec-4a6a6d4fd2d6e091587a963e6687fe1c2ff9d5c4.tar.gz
msec-4a6a6d4fd2d6e091587a963e6687fe1c2ff9d5c4.tar.bz2
msec-4a6a6d4fd2d6e091587a963e6687fe1c2ff9d5c4.tar.xz
msec-4a6a6d4fd2d6e091587a963e6687fe1c2ff9d5c4.zip
Support for plugin installation.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a031784..2c65439 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,7 @@ manpages:
install: all
mkdir -p $(RPM_BUILD_ROOT)/etc/security/msec
mkdir -p $(RPM_BUILD_ROOT)/usr/share/msec
+ mkdir -p $(RPM_BUILD_ROOT)/usr/share/msec/plugins
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
@@ -37,6 +38,11 @@ install: all
for i in libmsec.py config.py msec.py msecperms.py msecgui.py help.py version.py; do \
install -m755 src/msec/$$i $(RPM_BUILD_ROOT)/usr/share/msec ; \
done
+ # install plugins
+ for i in apparmor.py; do \
+ install -m755 src/msec/plugins/$$i $(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 ; \
done