move Info.plist to src/ and include in source tarball

This commit is contained in:
Thomas Bernard
2018-07-07 11:41:39 +02:00
parent 01c82fe6ac
commit 17e82d70dd
2 changed files with 3 additions and 3 deletions

28
src/Info.plist Normal file
View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>Grafx2</string>
<key>CFBundleIconFile</key>
<string>Grafx2.icns</string>
<key>CFBundleIdentifier</key>
<string>com.googlecode.grafx2</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>Grafx2</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>NSMainNibFile</key>
<string>SDLMain</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
</plist>

View File

@@ -697,8 +697,8 @@ $(MACAPPEXE) : $(BIN) $(OBJDIR)/versiontag
mkdir -p Grafx2.app/Contents/Resources/scripts/samples_2.4/palette
mkdir -p Grafx2.app/Contents/Resources/scripts/samples_2.4/picture
echo 'APPL????' > Grafx2.app/Contents/PkgInfo
cp ../Info.plist Grafx2.app/Contents
cp -r Grafx2.icns Grafx2.app/Contents/Resources
cp Info.plist Grafx2.app/Contents
cp Grafx2.icns Grafx2.app/Contents/Resources
ifeq ($(API),x11)
cp ../share/grafx2/gfx2.png Grafx2.app/Contents/Resources
endif
@@ -796,7 +796,7 @@ endif
$(TAR) czf "../grafx2-`cat $(OBJDIR)/versiontag`-src.tgz" $(TARTRANSFORM) \
../src/*.c ../src/*.cpp ../src/*.h ../src/Makefile ../src/Makefile.dep \
../src/Grafx2_Prefix.pch ../src/SDLMain.m ../src/gfx2.rc ../src/gfx2.ico \
../src/Grafx2.icns ../src/English.lproj/* \
../src/Grafx2.icns ../src/English.lproj/* ../src/Info.plist \
../share/grafx2/gfx2def.ini $(SCRIPT_FILES) $(SKIN_FILES) \
../share/grafx2/gfx2.gif ../share/grafx2/gfx2.png ../share/icons/grafx2.svg \
$(DOC_FILES) $(wildcard ../misc/*/*) $(FONT_FILES)