diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-04-28 00:13:15 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-04-28 00:13:15 +0000 |
commit | 5d1d1687392e17a4d23abffc053aee9fae0afe6c (patch) | |
tree | 665ae0aff6957fc41157c0dce41eef7dd13b009a | |
parent | ca7d49dd4506abdd025abfcece788e4560e4a48f (diff) |
In static build save munged files as .m_name_static.cpp rather than m_name_static.cpp so they arent immediately visible, and less likely to be edited
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3912 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1229,8 +1229,8 @@ HEADER # Write Entry to the Makefile ### print FILEHANDLE <<EOCHEESE; -m_$i.o: m_$i\_static.cpp ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/base.h - \$(CC) -pipe -I../../include \$(FLAGS) $flags -export-dynamic -c m_$i\_static.cpp +m_$i.o: .m_$i\_static.cpp ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/base.h + \$(CC) -pipe -I../../include \$(FLAGS) $flags -export-dynamic -c .m_$i\_static.cpp mv m_$i\_static.o ../m_$i.o EOCHEESE @@ -1239,7 +1239,7 @@ EOCHEESE ### print "Configuring module [\033[1;32mm_$i.so\033[0m] for static linking... "; open(MODULE,"<src/modules/m_".$i.".cpp") or die("Could not open m_".$i.".cpp"); - open(MUNGED,">src/modules/m_".$i."_static.cpp") or die("Could not create m_".$i."_static.cpp"); + open(MUNGED,">src/modules/.m_".$i."_static.cpp") or die("Could not create .m_".$i."_static.cpp"); while (chomp($a = <MODULE>)) { $a =~ s/init_module/$i\_init/g; print MUNGED "$a\n"; |