diff options
Diffstat (limited to 'make')
-rw-r--r-- | make/template/main.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/make/template/main.mk b/make/template/main.mk index 9a5f4db05..3d7b8a694 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -61,6 +61,9 @@ INSTMODE_LIB = 0644 @IFEQ $(SYSTEM) gnukfreebsd LDLIBS += -ldl -lrt @ENDIF +@IFEQ $(SYSTEM) gnu + LDLIBS += -ldl -lrt +@ENDIF @IFEQ $(SYSTEM) solaris LDLIBS += -lsocket -lnsl -lrt -lresolv @ENDIF @@ -212,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 @@ -220,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! *" |