Output no GNUSTEP_INSTALLATION_DOMAIN if it's not set

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@28698 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2009-09-17 09:20:21 +00:00
parent 1f210b10e8
commit daa35431f2
2 changed files with 8 additions and 17 deletions

View file

@ -1,10 +1,9 @@
2009-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
* Framework/PCMakefileFactory.m ([-createMakefileForProject:]): If
GNUSTEP_INSTALLATION_DOMAIN is not set, output a commented out
GNUSTEP_INSTALLATION_DOMAIN line so that the default is used but
people will still find out that the option exists if they look at
the file.
GNUSTEP_INSTALLATION_DOMAIN is not set, do not output it. This is
what was already happening, but the code seemed to assume
otherwise.
2009-09-17 Nicola Pero <nicola.pero@meta-innovation.com>

View file

@ -99,19 +99,11 @@ static PCMakefileFactory *_factory = nil;
[NSString stringWithFormat: @"\nGNUSTEP_INSTALLATION_DOMAIN = %@\n",
instDir]];
}
else if ([instDir isEqualToString: @""])
{
/* This should not be specified; gnustep-make will use the
* default - normally, but not necessarily, LOCAL.
* We output a commented line here so that people looking
* at the file will know that this option exists, and
* if they want to change it, will search for it in
* ProjectCenter.
*/
[mfile appendString:
[NSString stringWithFormat: @"\n# GNUSTEP_INSTALLATION_DOMAIN = LOCAL\n",
instDir]];
}
/* If GNUSTEP_INSTALLATION_DOMAIN was not set explicitly by the
* user, it shoudl not be specified; gnustep-make will use the
* default - normally, but not necessarily, LOCAL.
*/
[mfile appendString: @"\ninclude $(GNUSTEP_MAKEFILES)/common.make\n"];