]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix the base path being used for more than just the install prefix.
authorSadie Powell <sadie@witchery.services>
Sun, 31 Jan 2021 14:33:53 +0000 (14:33 +0000)
committerSadie Powell <sadie@witchery.services>
Sun, 31 Jan 2021 14:38:46 +0000 (14:38 +0000)
configure
make/template/inspircd
make/template/main.mk

index 5a587b808c50c19eab8b5a7c904d539ae1ed78ca..65dce82a3482bc5f5badbbd1ad2a58614852f7af 100755 (executable)
--- a/configure
+++ b/configure
@@ -322,7 +322,6 @@ EOW
 my $question = <<"EOQ";
 Currently, InspIRCd is configured with the following paths:
 
-<|BOLD Base:|>   $config{BASE_DIR}
 <|BOLD Binary:|> $config{BINARY_DIR}
 <|BOLD Config:|> $config{CONFIG_DIR}
 <|BOLD Data:|>   $config{DATA_DIR}
@@ -456,7 +455,6 @@ push @makeargs, "-j${\(get_cpu_count() + 1)}";
 print console_format <<"EOM";
 
 <|GREEN Paths:|>
-  <|GREEN Base:|>    $config{BASE_DIR}
   <|GREEN Binary:|>  $config{BINARY_DIR}
   <|GREEN Config:|>  $config{CONFIG_DIR}
   <|GREEN Data:|>    $config{DATA_DIR}
index c50d28c7fa0c337f3fa81417085f605be2c949a1..9bc7dd85f85a9f744ca13ae87a8ea10c9531dc1e 100644 (file)
@@ -62,11 +62,10 @@ use constant {
 };
 
 my $scriptpath = "@SCRIPT_DIR@";
-my $basepath   =       "@BASE_DIR@";
 my $confpath   =       "@CONFIG_DIR@";
 my $binpath    =       "@BINARY_DIR@";
 my $runtimedir = "@RUNTIME_DIR@";
-my $valgrindlogpath    =       "$basepath/valgrindlogs";
+my $valgrindlogpath = "@LOG_DIR@/valgrind";
 my $executable =       "inspircd";
 my $version    =       "@VERSION_FULL@";
 my $uid = "@UID@";
index 181c1f9f2c5f284cb794676e5beebf4da5cf5831..a8783aa05cf74fcfef02eda60c9d9797bf7b0ef6 100644 (file)
@@ -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"'