From dba8d6b88a421a4b610974fb4b14ee7a3d65f7da Mon Sep 17 00:00:00 2001 From: Casper Hornstrup Date: Sun, 5 Jun 2005 12:08:39 +0000 Subject: [PATCH] Correct dependencies for 'make _install' svn path=/trunk/; revision=15802 --- reactos/tools/rbuild/backend/mingw/modulehandler.cpp | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp index be3410c6739..d196ba473a2 100644 --- a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp +++ b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp @@ -458,19 +458,13 @@ MingwModuleHandler::GenerateInstallTarget () const if ( module.installName.length () == 0 ) return; fprintf ( fMakefile, ".PHONY: %s_install\n", module.name.c_str() ); - fprintf ( fMakefile, "%s_install:\n", module.name.c_str() ); - string sourceFilename = MingwModuleHandler::PassThruCacheDirectory ( - NormalizeFilename ( module.GetPath () ), - backend->outputDirectory ); string normalizedTargetFilename = MingwModuleHandler::PassThruCacheDirectory ( NormalizeFilename ( module.installBase + SSEP + module.installName ), backend->installDirectory ); fprintf ( fMakefile, - "\t$(ECHO_CP)\n" ); - fprintf ( fMakefile, - "\t${cp} %s %s 1>$(NUL)\n", - sourceFilename.c_str (), - normalizedTargetFilename.c_str () ); + "%s_install: %s\n", + module.name.c_str (), + normalizedTargetFilename.c_str() ); } string