summaryrefslogtreecommitdiff
path: root/make/template/main.mk
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-01-31 14:33:53 +0000
committerSadie Powell <sadie@witchery.services>2021-01-31 14:38:46 +0000
commit55a0a6ab66739fae65d123fadff1a31d96999c16 (patch)
treeff9c4c9d0af8b47fd0ad5b078ef85d079f5d88ec /make/template/main.mk
parent10714b0ded0ff1304034bb3c2eab9ef5fb163616 (diff)
Fix the base path being used for more than just the install prefix.
Diffstat (limited to 'make/template/main.mk')
-rw-r--r--make/template/main.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/make/template/main.mk b/make/template/main.mk
index 181c1f9f2..a8783aa05 100644
--- a/make/template/main.mk
+++ b/make/template/main.mk
@@ -51,7 +51,6 @@ CORELDFLAGS = -rdynamic -L.
PICLDFLAGS = -fPIC -shared -rdynamic
DESTDIR := $(if $(DESTDIR),$(DESTDIR),"@DESTDIR|@")
-BASE = "$(DESTDIR)@BASE_DIR@"
BINPATH = "$(DESTDIR)@BINARY_DIR@"
CONPATH = "$(DESTDIR)@CONFIG_DIR@"
DATPATH = "$(DESTDIR)@DATA_DIR@"
@@ -212,7 +211,6 @@ finishmessage: target
@echo "*************************************"
install: target
- @-$(INSTALL) -d -g @GID@ -o @UID@ -m $(INSTMODE_DIR) $(BASE)
@-$(INSTALL) -d -g @GID@ -o @UID@ -m $(INSTMODE_DIR) $(BINPATH)
@-$(INSTALL) -d -g @GID@ -o @UID@ -m $(INSTMODE_DIR) $(CONPATH)
@-$(INSTALL) -d -g @GID@ -o @UID@ -m $(INSTMODE_DIR) $(DATPATH)
@@ -252,7 +250,6 @@ endif
@echo "* INSTALL COMPLETE! *"
@echo "*************************************"
@echo 'Paths:'
- @echo ' Base install:' $(BASE)
@echo ' Configuration:' $(CONPATH)
@echo ' Binaries:' $(BINPATH)
@echo ' Modules:' $(MODPATH)
@@ -308,7 +305,6 @@ help:
@echo 'Targets:'
@echo ' all Complete build of InspIRCd, without installing (default)'
@echo ' install Build and install InspIRCd to the directory chosen in ./configure'
- @echo ' Currently installs to ${BASE}'
@echo ' debug Compile a debug build. Equivalent to "make D=1 all"'
@echo ''
@echo ' INSPIRCD_TARGET=target Builds a user-specified target, such as "inspircd" or "core_dns"'