diff options
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 4e55e5ea1..5269170c2 100644 --- a/Makefile.in +++ b/Makefile.in | |||
@@ -15,6 +15,7 @@ VERSION=@PACKAGE_VERSION@ | |||
15 | NAME=@PACKAGE_NAME@ | 15 | NAME=@PACKAGE_NAME@ |
16 | PACKAGE_TARNAME=@PACKAGE_TARNAME@ | 16 | PACKAGE_TARNAME=@PACKAGE_TARNAME@ |
17 | DOCDIR=@docdir@ | 17 | DOCDIR=@docdir@ |
18 | HAVE_APPARMOR=@HAVE_APPARMOR@ | ||
18 | 19 | ||
19 | .PHONY: mylibs $(MYLIBS) | 20 | .PHONY: mylibs $(MYLIBS) |
20 | mylibs: $(MYLIBS) | 21 | mylibs: $(MYLIBS) |
@@ -85,9 +86,11 @@ realinstall: | |||
85 | done | 86 | done |
86 | sh -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/$(sysconfdir)/firejail/.; fi;" | 87 | sh -c "if [ ! -f $(DESTDIR)/$(sysconfdir)/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/$(sysconfdir)/firejail/.; fi;" |
87 | rm -fr .etc | 88 | rm -fr .etc |
89 | ifeq ($(HAVE_APPARMOR),-DHAVE_APPARMOR) | ||
88 | # install apparmor profile | 90 | # install apparmor profile |
89 | sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d ]; then install -d -m 755 $(DESTDIR)/$(sysconfdir)/apparmor.d; fi;" | 91 | sh -c "if [ ! -d $(DESTDIR)/$(sysconfdir)/apparmor.d ]; then install -d -m 755 $(DESTDIR)/$(sysconfdir)/apparmor.d; fi;" |
90 | install -c -m 0644 etc/firejail-default $(DESTDIR)/$(sysconfdir)/apparmor.d/. | 92 | install -c -m 0644 etc/firejail-default $(DESTDIR)/$(sysconfdir)/apparmor.d/. |
93 | endif | ||
91 | # man pages | 94 | # man pages |
92 | install -m 0755 -d $(DESTDIR)/$(mandir)/man1 | 95 | install -m 0755 -d $(DESTDIR)/$(mandir)/man1 |
93 | install -m 0755 -d $(DESTDIR)/$(mandir)/man5 | 96 | install -m 0755 -d $(DESTDIR)/$(mandir)/man5 |