From d219516b43a11496fdc477f7ef1a419bb6200da0 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 1 May 2012 14:10:35 +0100 Subject: Install example configuration files into their own directory. --- make/template/main.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/template/main.mk b/make/template/main.mk index eb551ba74..7131a4f73 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -212,7 +212,7 @@ 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) + @-install -d -m $(INSTMODE_DIR) $(CONPATH)/examples @-install -d -m $(INSTMODE_DIR) $(MODPATH) [ $(BUILDPATH)/bin/ -ef $(BINPATH) ] || install -m $(INSTMODE_BIN) $(BUILDPATH)/bin/inspircd $(BINPATH) @IFNDEF PURE_STATIC @@ -220,7 +220,7 @@ 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) + -install -m $(INSTMODE_LIB) docs/*.example $(CONPATH)/examples @echo "" @echo "*************************************" @echo "* INSTALL COMPLETE! *" -- cgit v1.2.3 From f4e2332421971bc540033e1c0b69392fd0f27a04 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 4 May 2012 20:54:30 +0100 Subject: Update 'make install' to inform the user about the example config files. --- make/template/main.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/make/template/main.mk b/make/template/main.mk index 7131a4f73..9a5f4db05 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -231,7 +231,8 @@ install: target @echo ' Binaries:' $(BINPATH) @echo ' Modules:' $(MODPATH) @echo 'To start the ircd, run:' $(BASE)/inspircd start - @echo 'Remember to edit your config file:' $(CONPATH)/inspircd.conf + @echo 'Remember to create your config file:' $(CONPATH)/inspircd.conf + @echo 'Examples are available at:' $(CONPATH)/examples/ @GNU_ONLY RCS_FILES = $(wildcard .git/index src/version.sh) @BSD_ONLY RCS_FILES = src/version.sh -- cgit v1.2.3