Hack workaround to fix MacOS X install problems
authorSam Lantinga <slouken@libsdl.org>
Fri, 26 Oct 2001 14:51:22 +0000
changeset 218 91a5db3e930a
parent 217 add626b825bb
child 219 f928da36f0e9
Hack workaround to fix MacOS X install problems
src/main/macosx/Makefile.am
src/main/macosx/info.nib
--- a/src/main/macosx/Makefile.am	Thu Oct 25 08:45:17 2001 +0000
+++ b/src/main/macosx/Makefile.am	Fri Oct 26 14:51:22 2001 +0000
@@ -4,6 +4,9 @@
 # experience knows how to do this properly?
 
 if TARGET_MACOSX
+hackhacknibdatadir = $(nibdatadir)/SDLMain.nib
+hackhacknibdata_DATA = info.nib
+
 nibdatadir = $(datadir)/sdl
 nibdata_DATA =			\
 	SDLMain.nib/classes.nib	\
@@ -12,12 +15,11 @@
 	Info.plist
 endif
 
-EXTRA_DIST = SDLMain.h SDLMain.m
+EXTRA_DIST = SDLMain.h SDLMain.m info.nib
 
 # 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`)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/macosx/info.nib	Fri Oct 26 14:51:22 2001 +0000
@@ -0,0 +1,1 @@
+// This is just a stub file to force automake to create the install directory