Author: hpoussin
Date: Sat Dec 15 13:04:29 2007
New Revision: 31233
URL:
http://svn.reactos.org/svn/reactos?rev=31233&view=rev
Log:
Fix deletion of generated proxy makefile
Modified:
trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
Modified: trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/mingw…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp (original)
+++ trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp Sat Dec 15 13:04:29 2007
@@ -2208,9 +2208,14 @@
if ( module.name != "zlib" ) /* Avoid make warning */
{
- FileLocation proxyMakefile ( OutputDirectory,
+ DirectoryLocation root;
+ if ( backend->configuration.GenerateProxyMakefilesInSourceTree )
+ root = SourceDirectory;
+ else
+ root = OutputDirectory;
+ FileLocation proxyMakefile ( root,
module.output->relative_path,
- "makefile" );
+ "GNUmakefile" );
CLEAN_FILE ( proxyMakefile );
}