diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-24 19:52:07 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-24 19:52:07 +0000 |
commit | 5a7d1bbe1997c3a38720cf534a0bb6482c0f19f8 (patch) | |
tree | 2c6e60d76b39bba6e91e088162956b7391ebac99 /make/template | |
parent | fea69b05696db26abef5a113b0868034e4370338 (diff) |
Improve the output of "make install"
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12660 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/template')
-rw-r--r-- | make/template/main.mk | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/make/template/main.mk b/make/template/main.mk index 301bc4199..6f2b8da64 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -77,16 +77,16 @@ CXXFLAGS += -Iinclude @BSD_ONLY SOURCEPATH != /bin/pwd @IFDEF V - RUNCC = $(CC) - VERBOSE = -v + RUNCC = $(CC) + VERBOSE = -v @ELSE - @GNU_ONLY MAKEFLAGS += --silent - @BSD_ONLY MAKE += -s - RUNCC = perl $(SOURCEPATH)/make/run-cc.pl $(CC) + @GNU_ONLY MAKEFLAGS += --silent + @BSD_ONLY MAKE += -s + RUNCC = perl $(SOURCEPATH)/make/run-cc.pl $(CC) @ENDIF @IFDEF PURE_STATIC - CXXFLAGS += -DPURE_STATIC + CXXFLAGS += -DPURE_STATIC @ENDIF @DO_EXPORT RUNCC CXXFLAGS CC LDLIBS PICLDFLAGS VERBOSE SOCKETENGINE CORELDFLAGS PURE_STATIC @@ -165,20 +165,24 @@ install: target @-install -d -m $(INSTMODE_DIR) $(BINPATH) @-install -d -m $(INSTMODE_DIR) $(CONPATH) @-install -d -m $(INSTMODE_DIR) $(MODPATH) - install -m $(INSTMODE_BIN) $(BUILDPATH)/bin/inspircd $(BINPATH) - install -m $(INSTMODE_LIB) $(BUILDPATH)/modules/*.so $(MODPATH) + [ $(BUILDPATH)/bin/ -ef $(BINPATH) ] || install -m $(INSTMODE_BIN) $(BUILDPATH)/bin/inspircd $(BINPATH) +@IFNDEF PURE_STATIC + [ $(BUILDPATH)/modules/ -ef $(MODPATH) ] || install -m $(INSTMODE_LIB) $(BUILDPATH)/modules/*.so $(MODPATH) +@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) @echo "" @echo "*************************************" @echo "* INSTALL COMPLETE! *" - @echo "* *" - @echo "* It is safe to ignore any messages *" - @echo "* related to copying of conf files. *" - @echo "* *" - @echo "* REMEMBER TO EDIT YOUR CONFIG FILE *" @echo "*************************************" + @echo 'Paths:' + @echo ' Base install:' $(BASE) + @echo ' Configuration:' $(CONPATH) + @echo ' Binaries:' $(BINPATH) + @echo ' Moudles:' $(MODPATH) + @echo 'To start the ircd, run:' $(BASE)/inspircd start + @echo 'Remember to edit your config file:' $(CONPATH)/inspircd.conf @GNU_ONLY RCS_FILES = $(wildcard .git/index .svn/entries src/version.sh) @BSD_ONLY RCS_FILES = src/version.sh |