Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
217:add626b825bb | 218:91a5db3e930a |
---|---|
2 # We use an ugly hack to force the creation of the | 2 # We use an ugly hack to force the creation of the |
3 # destination dir, maybe somebody with more automake | 3 # destination dir, maybe somebody with more automake |
4 # experience knows how to do this properly? | 4 # experience knows how to do this properly? |
5 | 5 |
6 if TARGET_MACOSX | 6 if TARGET_MACOSX |
7 hackhacknibdatadir = $(nibdatadir)/SDLMain.nib | |
8 hackhacknibdata_DATA = info.nib | |
9 | |
7 nibdatadir = $(datadir)/sdl | 10 nibdatadir = $(datadir)/sdl |
8 nibdata_DATA = \ | 11 nibdata_DATA = \ |
9 SDLMain.nib/classes.nib \ | 12 SDLMain.nib/classes.nib \ |
10 SDLMain.nib/info.nib \ | 13 SDLMain.nib/info.nib \ |
11 SDLMain.nib/objects.nib \ | 14 SDLMain.nib/objects.nib \ |
12 Info.plist | 15 Info.plist |
13 endif | 16 endif |
14 | 17 |
15 EXTRA_DIST = SDLMain.h SDLMain.m | 18 EXTRA_DIST = SDLMain.h SDLMain.m info.nib |
16 | 19 |
17 # The nib and exports directories need to be copied into place | 20 # The nib and exports directories need to be copied into place |
18 # when building a distribution. | 21 # when building a distribution. |
19 dist-hook: | 22 dist-hook: |
20 (cd $(distdir) && rm -f $(BUILT_SOURCES)) | |
21 cp -rp SDLMain.nib $(distdir) | 23 cp -rp SDLMain.nib $(distdir) |
22 cp -rp exports $(distdir) | 24 cp -rp exports $(distdir) |
23 (cd $(distdir) && rm -rf `find . -name CVS`) | 25 (cd $(distdir) && rm -rf `find . -name CVS`) |