changeset 218:91a5db3e930a

Hack workaround to fix MacOS X install problems
author Sam Lantinga <slouken@libsdl.org>
date Fri, 26 Oct 2001 14:51:22 +0000
parents add626b825bb
children f928da36f0e9
files src/main/macosx/Makefile.am src/main/macosx/info.nib
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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