Skip to content

Commit

Permalink
Hack workaround to fix MacOS X install problems
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 26, 2001
1 parent 1cc45bd commit 0732cbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/macosx/Makefile.am
Expand Up @@ -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 \
Expand All @@ -12,12 +15,11 @@ nibdata_DATA = \
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`)
1 change: 1 addition & 0 deletions src/main/macosx/info.nib

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0732cbf

Please sign in to comment.