summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2014-12-18 16:01:10 +0000
committerPeter Powell <petpow@saberuk.com>2014-12-18 16:43:58 +0000
commitbdaccea9600285febd1fabc3dddb6dbec9947f42 (patch)
tree845e9b832dea2a9ccc1daa5e7ae62dd34a518bf4 /make
parent7cb79020b7a9d7431d3038953c8e05ec0f2158c7 (diff)
Fix some oversights from #895.
- Always write the configure cache file as it is needed for updating the makefile when --update is called. - List the modules which have been enabled in the "configuration complete" message. - Silence some harmless warnings about installing PEM files which don't exist.
Diffstat (limited to 'make')
-rw-r--r--make/template/main.mk9
1 files changed, 3 insertions, 6 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index b4d77e4e6..521888bea 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -247,7 +247,7 @@ install: target
-$(INSTALL) -m $(INSTMODE_LIB) inspircd-genssl.1 $(MANPATH) 2>/dev/null
-$(INSTALL) -m $(INSTMODE_BIN) tools/genssl $(BINPATH)/inspircd-genssl 2>/dev/null
-$(INSTALL) -m $(INSTMODE_LIB) docs/conf/*.example $(CONPATH)/examples
- -$(INSTALL) -m $(INSTMODE_LIB) *.pem $(CONPATH)
+ -$(INSTALL) -m $(INSTMODE_LIB) *.pem $(CONPATH) 2>/dev/null
-$(INSTALL) -m $(INSTMODE_LIB) docs/conf/aliases/*.example $(CONPATH)/examples/aliases
-$(INSTALL) -m $(INSTMODE_LIB) docs/conf/modules/*.example $(CONPATH)/examples/modules
@echo ""
@@ -264,11 +264,8 @@ install: target
@echo 'Remember to create your config file:' $(CONPATH)/inspircd.conf
@echo 'Examples are available at:' $(CONPATH)/examples/
-@TARGET BSD_MAKE CONFIGURE_CACHE_FILE = @CONFIGURE_CACHE_FILE@
-@TARGET GNU_MAKE CONFIGURE_CACHE_FILE = $(wildcard @CONFIGURE_CACHE_FILE@)
-
-GNUmakefile BSDmakefile: make/template/main.mk src/version.sh configure $(CONFIGURE_CACHE_FILE)
- ./configure -update
+GNUmakefile BSDmakefile: make/template/main.mk src/version.sh configure @CONFIGURE_CACHE_FILE@
+ ./configure --update
@TARGET BSD_MAKE .MAKEFILEDEPS: BSDmakefile
clean: