summaryrefslogtreecommitdiff
path: root/make/template/main.mk
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2012-06-12 18:53:50 +0100
committerPeter Powell <petpow@saberuk.com>2012-06-12 18:53:50 +0100
commita528d8ddb0fba22444845906d1a283c51c011229 (patch)
tree592c622e60240c1bab10667321fdedece3cb89de /make/template/main.mk
parentc8e9bbbe40839848dad686bd6e96a64130ff094f (diff)
Install example alias and module configuration files as well.
Diffstat (limited to 'make/template/main.mk')
-rw-r--r--make/template/main.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index cf6d72164..3d7b8a694 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -215,7 +215,8 @@ install: target
@-install -d -o $(INSTUID) -m $(INSTMODE_DIR) $(BASE)/data
@-install -d -o $(INSTUID) -m $(INSTMODE_DIR) $(BASE)/logs
@-install -d -m $(INSTMODE_DIR) $(BINPATH)
- @-install -d -m $(INSTMODE_DIR) $(CONPATH)/examples
+ @-install -d -m $(INSTMODE_DIR) $(CONPATH)/examples/aliases
+ @-install -d -m $(INSTMODE_DIR) $(CONPATH)/examples/modules
@-install -d -m $(INSTMODE_DIR) $(MODPATH)
[ $(BUILDPATH)/bin/ -ef $(BINPATH) ] || install -m $(INSTMODE_BIN) $(BUILDPATH)/bin/inspircd $(BINPATH)
@IFNDEF PURE_STATIC
@@ -223,7 +224,9 @@ install: target
@ENDIF
-install -m $(INSTMODE_BIN) @STARTSCRIPT@ $(BASE) 2>/dev/null
-install -m $(INSTMODE_LIB) tools/gdbargs $(BASE)/.gdbargs 2>/dev/null
- -install -m $(INSTMODE_LIB) docs/*.example $(CONPATH)/examples
+ -install -m $(INSTMODE_LIB) docs/conf/*.example $(CONPATH)/examples
+ -install -m $(INSTMODE_LIB) docs/conf/aliases/*.example $(CONPATH)/examples/aliases
+ -install -m $(INSTMODE_LIB) docs/conf/modules/*.conf.* $(CONPATH)/examples/modules
@echo ""
@echo "*************************************"
@echo "* INSTALL COMPLETE! *"