summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-01 22:04:16 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-01 22:04:16 +0000
commit23420b3bf6d2ce60914a39dc936fcb355f731ba6 (patch)
tree53df776209192b7fe7970a488c70973887ea9d40
parent199b9449c46f5181ffff043fff45484dae2e6ec2 (diff)
*FOR TESTING* seperate modinst step called by bininst
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3405 e03df62e-2008-0410-955e-edbf42e46eb7
-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