replace deprecated makevariable

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37090 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2013-09-17 17:16:59 +00:00
parent 78bf74dc1d
commit c0007e5b0a
2 changed files with 11 additions and 7 deletions

View file

@ -1,3 +1,8 @@
2013-09-17 Riccardo Mottola <rm@gnustep.org>
* Modules/Projects/ResourceSet/PCResourceSetProject.m
Replace deprecated make variable.
2013-02-25: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Framework/PCFileNameIcon.m
* unsigned int -> NSDragOperation

View file

@ -1,7 +1,7 @@
/*
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
Copyright (C) 2004-2010 Free Software Foundation
Copyright (C) 2004-2013 Free Software Foundation
Authors: Serg Stoyan
@ -128,7 +128,7 @@
NSString *key = nil;
NSMutableArray *resources = nil;
NSArray *localizedResources = nil;
NSLog(@" write makefile!");
// Save the GNUmakefile backup
[super writeMakefile];
@ -188,12 +188,11 @@
[mff appendString:@"\n#\n# Resource Set\n#\n"];
[mff appendString:[NSString stringWithFormat:@"RESOURCE_SET_NAME = %@\n",
projectName]];
/* FIXME: This was deprecated in 2007 and has even been removed from
the latest gnustep-make! The variable to use is
xxx_INSTALL_DIR. */
// updated variable and path as suggested by makefile migration
// TODO: perhaps paths hould be created with system path separator
[mff appendString:
[NSString stringWithFormat:@"@%RESOURCE_FILES_INSTALL_DIR = %@\n",
[projectDict objectForKey:PCInstallDomain]]];
[NSString stringWithFormat:@"%@_INSTALL_DIR = $(GNUSTEP_LIBRARY)/Libraries/Resources/%@\n",projectName, projectName]];
}
- (void)appendTail:(PCMakefileFactory *)mff