diff options
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,9 +1,12 @@ | |||
1 | all: | 1 | all: |
2 | 2 | ||
3 | install: | 3 | install: |
4 | mkdir -p ${PREFIX}/etc/ezjail/ ${PREFIX}/man/man1 ${PREFIX}/man/man5 | ||
5 | cp -p ezjail.conf.sample ${PREFIX}/etc/ | ||
4 | sed s:EZJAIL_PREFIX:${PREFIX}: ezjail > ${PREFIX}/etc/rc.d/ezjail | 6 | sed s:EZJAIL_PREFIX:${PREFIX}: ezjail > ${PREFIX}/etc/rc.d/ezjail |
5 | chmod 744 ${PREFIX}/etc/rc.d/ezjail | ||
6 | sed s:EZJAIL_PREFIX:${PREFIX}: ezjail-admin > ${PREFIX}/bin/ezjail-admin | 7 | sed s:EZJAIL_PREFIX:${PREFIX}: ezjail-admin > ${PREFIX}/bin/ezjail-admin |
7 | chmod 744 ${PREFIX}/bin/ezjail-admin | 8 | sed s:EZJAIL_PREFIX:${PREFIX}: man1/ezjail-admin.1 > ${PREFIX}/man/man1/ezjail-admin.1 |
8 | cp -p ezjail.conf.sample ${PREFIX}/etc/ | 9 | sed s:EZJAIL_PREFIX:${PREFIX}: man5/ezjail.conf.5 > ${PREFIX}/man/man5/ezjail.conf.5 |
9 | mkdir -p ${PREFIX}/etc/ezjail/ | 10 | sed s:EZJAIL_PREFIX:${PREFIX}: man1/ezjail.5 > ${PREFIX}/man/man5/ezjail.5 |
11 | chmod 744 ${PREFIX}/etc/rc.d/ezjail ${PREFIX}/bin/ezjail-admin | ||
12 | chown root:wheel ${PREFIX}/man/man1/ezjail-admin.1 ${PREFIX}/man/man5/ezjail.conf.5 ${PREFIX}/man/man5/ezjail.5 | ||