mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Correct dependencies for 'make <module>_install'
svn path=/trunk/; revision=15802
This commit is contained in:
parent
1aa91e26e5
commit
dba8d6b88a
1 changed files with 3 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue