mirror of
https://github.com/reactos/reactos.git
synced 2025-07-05 03:41:21 +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 )
|
if ( module.installName.length () == 0 )
|
||||||
return;
|
return;
|
||||||
fprintf ( fMakefile, ".PHONY: %s_install\n", module.name.c_str() );
|
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 (
|
string normalizedTargetFilename = MingwModuleHandler::PassThruCacheDirectory (
|
||||||
NormalizeFilename ( module.installBase + SSEP + module.installName ),
|
NormalizeFilename ( module.installBase + SSEP + module.installName ),
|
||||||
backend->installDirectory );
|
backend->installDirectory );
|
||||||
fprintf ( fMakefile,
|
fprintf ( fMakefile,
|
||||||
"\t$(ECHO_CP)\n" );
|
"%s_install: %s\n",
|
||||||
fprintf ( fMakefile,
|
module.name.c_str (),
|
||||||
"\t${cp} %s %s 1>$(NUL)\n",
|
normalizedTargetFilename.c_str() );
|
||||||
sourceFilename.c_str (),
|
|
||||||
normalizedTargetFilename.c_str () );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
string
|
string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue