From: brain Date: Fri, 28 Apr 2006 00:13:15 +0000 (+0000) Subject: In static build save munged files as .m_name_static.cpp rather than m_name_static... X-Git-Tag: v2.0.23~8215 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=5d1d1687392e17a4d23abffc053aee9fae0afe6c;p=user%2Fhenk%2Fcode%2Finspircd.git 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 --- diff --git a/configure b/configure index 7a9b4372c..c42cbf05e 100755 --- a/configure +++ b/configure @@ -1229,8 +1229,8 @@ HEADER # Write Entry to the Makefile ### print FILEHANDLE <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 = )) { $a =~ s/init_module/$i\_init/g; print MUNGED "$a\n";