Hi
looking at some problems we have with the current way of generating
Info.plist files, I'd like to consider a pretty radical change in the way
our makefiles deal with those files.
Consider an application.
At the moment, you have a GNUmakefile which contains lines such as
Nicola_MAIN_MODEL_FILE = Nicola.gorm
Nicola_APPLICATION_ICON = HappyProgram.png
Nicola_PRINCIPAL_CLASS = MainController
and if you want to set more stuff in your Info.plist, you add a
xxxInfo.plist file.
gnustep-make will read your GNUmakefile variables, generate an Info.plist
fragment using those variables, then run plmerge to merge your
xxxInfo.plist file into that one.
Now if you think about it, this is pretty stupid. :-)
The process is complex, and it's generating something which ... is always
the same! So why generating it? The process is not even adding much
value, because for a programmer, writing
{
NSExecutable = Nicola;
NSMainNibFile = Nicola.gorm;
NSIcon = HappyProgram.png;
NSPrincipalClass = MainController;
}
is more or less the same amount of work than writing the equivalent lines
in the GNUmakefile, but it's more transparent, as what you write is what
you get.