1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: Generate manifest.plist even without Xcode.
As described in Doc/Version-bump.txt, the version in
DebugOXP/Debug.oxp/manifest.plist is set manually. Generating
manifest.plist from it is much easyer.
.
tools/mkmanifest.sh was not called anywhere else and may be removed.
Author: Nicolas Boulenguez <nicolas@debian.org>
--- a/GNUmakefile.postamble
+++ b/GNUmakefile.postamble
@@ -21,14 +21,12 @@
SRC_BIN = $(OBJC_PROGRAM_NAME)$(OS_EXT)
DEST_BIN = $(OBJC_PROGRAM_NAME)$(EXT)$(OS_EXT)
-MKMANIFEST=tools/mkmanifest.sh
-
PROGDIR=$(OBJC_PROGRAM_NAME).app
after-all::
$(MKDIRS) $(PROGDIR)
$(MKDIRS) $(PROGDIR)/Resources
- $(MKMANIFEST) > $(PROGDIR)/Resources/manifest.plist
+ sed 's/Debug OXP/core/;s/\.debug//' DebugOXP/Debug.oxp/manifest.plist > $(PROGDIR)/Resources/manifest.plist
$(CP) $(CP_FLAGS) Resources/README.TXT $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/InfoPlist.strings $(PROGDIR)/Resources
$(CP) $(CP_FLAGS) Resources/AIs $(PROGDIR)/Resources
|