mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-31 17:31:24 +00:00
Support for storyboards in GNUmakefiles.
This commit is contained in:
parent
eb7c5d8df3
commit
5cdfca4345
1 changed files with 7 additions and 3 deletions
|
@ -223,10 +223,12 @@ MAIN_MODEL_FILE = $(strip $(subst .gmodel,,$(subst .gorm,,$(subst .nib,,$($(GNUS
|
||||||
|
|
||||||
MAIN_MARKUP_FILE = $(strip $(subst .gsmarkup,,$($(GNUSTEP_INSTANCE)_MAIN_MARKUP_FILE)))
|
MAIN_MARKUP_FILE = $(strip $(subst .gsmarkup,,$($(GNUSTEP_INSTANCE)_MAIN_MARKUP_FILE)))
|
||||||
|
|
||||||
|
MAIN_STORYBOARD_FILE = $(strip $(subst .gmodel,,$(subst .gorm,,$(subst .nib,,$($(GNUSTEP_INSTANCE)_MAIN_STORYBOARD_FILE)))))
|
||||||
|
|
||||||
# We must recreate Info.plist if PRINCIPAL_CLASS and/or
|
# We must recreate Info.plist if PRINCIPAL_CLASS and/or
|
||||||
# APPLICATION_ICON and/or MAIN_MODEL_FILE and/or MAIN_MARKUP_FILE has
|
# APPLICATION_ICON and/or MAIN_MODEL_FILE and/or MAIN_MARKUP_FILE and/or
|
||||||
# changed since last time we built Info.plist. We use
|
# MAIN_STORBOARD_FILE has changed since last time we built Info.plist.
|
||||||
# stamp-string.make, which will store the variables in a stamp file
|
# We use stamp-string.make, which will store the variables in a stamp file
|
||||||
# inside GNUSTEP_STAMP_DIR, and rebuild Info.plist if
|
# inside GNUSTEP_STAMP_DIR, and rebuild Info.plist if
|
||||||
# GNUSTEP_STAMP_STRING changes. We will also depend on xxxInfo.plist
|
# GNUSTEP_STAMP_STRING changes. We will also depend on xxxInfo.plist
|
||||||
# if any.
|
# if any.
|
||||||
|
@ -265,6 +267,7 @@ $(APP_INFO_PLIST_FILE): $(GNUSTEP_STAMP_DEPEND) $(GNUSTEP_PLIST_DEPEND)
|
||||||
$(ECHO_CREATING)(echo "{"; echo ' NOTE = "Automatically generated, do not edit!";'; \
|
$(ECHO_CREATING)(echo "{"; echo ' NOTE = "Automatically generated, do not edit!";'; \
|
||||||
echo " NSExecutable = \"$(GNUSTEP_INSTANCE)\";"; \
|
echo " NSExecutable = \"$(GNUSTEP_INSTANCE)\";"; \
|
||||||
echo " NSMainNibFile = \"$(MAIN_MODEL_FILE)\";"; \
|
echo " NSMainNibFile = \"$(MAIN_MODEL_FILE)\";"; \
|
||||||
|
echo " NSMainStoryboardFile = \"$(MAIN_STORYBOARD_FILE)\";"; \
|
||||||
echo " GSMainMarkupFile = \"$(MAIN_MARKUP_FILE)\";"; \
|
echo " GSMainMarkupFile = \"$(MAIN_MARKUP_FILE)\";"; \
|
||||||
if [ "$(APPLICATION_ICON)" != "" ]; then \
|
if [ "$(APPLICATION_ICON)" != "" ]; then \
|
||||||
echo " CFBundleIconFile = \"$(APPLICATION_ICON)\";"; \
|
echo " CFBundleIconFile = \"$(APPLICATION_ICON)\";"; \
|
||||||
|
@ -281,6 +284,7 @@ $(APP_INFO_PLIST_FILE): $(GNUSTEP_STAMP_DEPEND) $(GNUSTEP_PLIST_DEPEND)
|
||||||
$(ECHO_CREATING)(echo "{"; echo ' NOTE = "Automatically generated, do not edit!";'; \
|
$(ECHO_CREATING)(echo "{"; echo ' NOTE = "Automatically generated, do not edit!";'; \
|
||||||
echo " NSExecutable = \"$(GNUSTEP_INSTANCE)\";"; \
|
echo " NSExecutable = \"$(GNUSTEP_INSTANCE)\";"; \
|
||||||
echo " NSMainNibFile = \"$(MAIN_MODEL_FILE)\";"; \
|
echo " NSMainNibFile = \"$(MAIN_MODEL_FILE)\";"; \
|
||||||
|
echo " NSMainStoryboardFile = \"$(MAIN_STORYBOARD_FILE)\";"; \
|
||||||
echo " GSMainMarkupFile = \"$(MAIN_MARKUP_FILE)\";"; \
|
echo " GSMainMarkupFile = \"$(MAIN_MARKUP_FILE)\";"; \
|
||||||
if [ "$(APPLICATION_ICON)" != "" ]; then \
|
if [ "$(APPLICATION_ICON)" != "" ]; then \
|
||||||
echo " NSIcon = \"$(APPLICATION_ICON)\";"; \
|
echo " NSIcon = \"$(APPLICATION_ICON)\";"; \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue