summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.Makefile.inc1
-rwxr-xr-xconfigure10
-rwxr-xr-xsrc/svn-rev.sh2
3 files changed, 11 insertions, 2 deletions
diff --git a/.Makefile.inc b/.Makefile.inc
index c534a866a..725fcab17 100644
--- a/.Makefile.inc
+++ b/.Makefile.inc
@@ -55,6 +55,7 @@ bininst:
-install -v -m 0700 src/libIRCDtimer.so $(LIBPATH)
-install -v -m 0700 src/inspircd $(BINPATH)
@-install -v -m 0700 inspircd $(BASE) 2>/dev/null
+ ${MAKE} -C src/modules DIRNAME="src/modules" $(MAKEARGS) modinst
@echo "*************************************"
@echo "* BUILD COMPLETE! *"
@echo "* It is safe to ignore any messages *"
diff --git a/configure b/configure
index 79fedbb70..872b151f5 100755
--- a/configure
+++ b/configure
@@ -1209,6 +1209,7 @@ EOF
my $modules = "";
my $cmflags = "";
my $liflags = "";
+ my $crud = "";
foreach $i (@modlist) {
###
@@ -1220,14 +1221,21 @@ EOF
m_$i.so: m_$i.cpp ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/base.h ../../include/inspircd_config.h ../../include/inspircd.h ../../include/inspircd_io.h
\$(CC) -pipe -I../../include \$(FLAGS) $cmflags -export-dynamic -c m_$i.cpp
\$(CC) \$(FLAGS) -shared $liflags -o m_$i.so m_$i.o $extra
- \@-rm -f \$(MODPATH)/m_$i.so
+
+EOCHEESE
+ $crud = $crud . "
install -v -m 0700 m_$i.so \$(MODPATH)
+";
EOCHEESE
###
# End Write Entry to the MakeFile
###
}
+ print FILEHANDLE "modinst:
+" . $crud;
+
+EOPIE
}
diff --git a/src/svn-rev.sh b/src/svn-rev.sh
index 89c3a3f61..9999ffa31 100755
--- a/src/svn-rev.sh
+++ b/src/svn-rev.sh
@@ -1 +1 @@
-echo 3402
+echo 3404