summaryrefslogtreecommitdiff
path: root/configure
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 /configure
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 9 insertions, 1 deletions
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
}