Added xxxInfo.plist insertion for bundles

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@5134 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-11-05 11:15:48 +00:00
parent c346c2a11f
commit 1af06a69bf
3 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Fri Nov 05 11:23:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* application.make: Added comment about including info.plist stuff.
* bundle.make: Added support for inclusion of info.plist stuff.
1999-10-03 Lyndon Tremblay <ltremblay@mezzanine.xnot.com>
* GNUstep.sh.in: Added CLASSPATH settings.

View file

@ -34,6 +34,8 @@ include $(GNUSTEP_MAKEFILES)/rules.make
# The list of application resource file are in xxx_RESOURCE_FILES
# The list of application resource directories are in xxx_RESOURCE_DIRS
# The name of the application icon (if any) is in xxx_APPLICATION_ICON
# The name of a file containing info.plist entries to be inserted into
# Info-gnustep.plist (if any) is xxxInfo.plist
# where xxx is the application name
#

View file

@ -33,6 +33,8 @@ include $(GNUSTEP_MAKEFILES)/rules.make
# The list of bundle resource file are in xxx_RESOURCE_FILES
# The list of bundle resource directories are in xxx_RESOURCE_DIRS
# The name of the principal class is xxx_PRINCIPAL_CLASS
# The name of a file containing info.plist entries to be inserted into
# Info-gnustep.plist (if any) is xxxInfo.plist
# where xxx is the bundle name
#
@ -121,6 +123,9 @@ $(BUNDLE_DIR_NAME)/Resources/Info-gnustep.plist: $(BUNDLE_DIR_NAME)/Resources
echo " NSMainNibFile = \"`echo $(MAIN_MODEL_FILE) | sed 's/.gmodel//'`\";"; \
fi; \
echo " NSPrincipalClass = \"$(PRINCIPAL_CLASS)\";"; \
if [ -r "$(INTERNAL_bundle_NAME)Info.plist" ]; then \
cat $(INTERNAL_bundle_NAME)Info.plist; \
fi; \
echo "}") >$@
internal-bundle-install:: $(BUNDLE_INSTALL_DIR)