summaryrefslogtreecommitdiff
path: root/make/template/main.mk
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-11-12 14:20:26 +0000
committerSadie Powell <sadie@witchery.services>2020-11-12 14:22:54 +0000
commit713842fef7f2578ed467eccedf4ceaaf85ce737f (patch)
treef153e064d401a61bd23b8bc671c202b2d2a7e0c8 /make/template/main.mk
parent6214094a84f33ea80af4dac88dd1b82bd59a0b5c (diff)
Add an AppArmor config.
Diffstat (limited to 'make/template/main.mk')
-rw-r--r--make/template/main.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index 73b24f2e5..181c1f9f2 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -227,6 +227,7 @@ install: target
-$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_BIN) "$(BUILDPATH)/bin/inspircd" $(BINPATH)
-$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_BIN) "$(BUILDPATH)/modules/"*.so $(MODPATH)
-$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_BIN) @CONFIGURE_DIRECTORY@/inspircd $(SCRPATH) 2>/dev/null
+ -$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_TXT) @CONFIGURE_DIRECTORY@/apparmor $(SCRPATH) 2>/dev/null
-$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_TXT) @CONFIGURE_DIRECTORY@/logrotate $(SCRPATH) 2>/dev/null
ifeq ($(SYSTEM), darwin)
-$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_BIN) @CONFIGURE_DIRECTORY@/org.inspircd.plist $(SCRPATH) 2>/dev/null