diff src/main/macosx/Makefile.am @ 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 c79890792bfb
children
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`)