--- a/src/main/macosx/Info.plist Tue Sep 11 20:49:27 2001 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
-<plist version="0.9">
-<dict>
- <key>CFBundleDevelopmentRegion</key>
- <string>English</string>
- <key>CFBundleExecutable</key>
- <string>dummy</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>dummy</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleSignature</key>
- <string>????</string>
- <key>NSMainNibFile</key>
- <string>SDLMain.nib</string>
- <key>NSPrincipalClass</key>
- <string>NSApplication</string>
-</dict>
-</plist>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/macosx/Info.plist.in Tue Sep 11 20:58:28 2001 +0000
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
+<plist version="0.9">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>@EXECUTABLE_NAME@</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>@PACKAGE@</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>@VERSION@</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>NSMainNibFile</key>
+ <string>SDLMain.nib</string>
+ <key>NSPrincipalClass</key>
+ <string>NSApplication</string>
+</dict>
+</plist>
--- a/src/main/macosx/Makefile.am Tue Sep 11 20:49:27 2001 +0000
+++ b/src/main/macosx/Makefile.am Tue Sep 11 20:58:28 2001 +0000
@@ -15,3 +15,13 @@
SDLMain.nib/objects.nib \
Info.plist
endif
+
+EXTRA_DIST = SDLMain.h SDLMain.m
+
+# The nib and exports directories need to be copied into place
+# when building a distribution.
+dist-hook:
+ (cd $(distdir) && rm -f $(BUILT_SOURCES))
+ cp -rp SDLMain.nib $(distdir)
+ cp -rp exports $(distdir)
+ (cd $(distdir) && rm -rf `find . -name CVS`)