/
Makefile.am
23 lines (20 loc) · 633 Bytes
1
# On OS X, install the SDLMain.nib.
2
3
4
5
6
7
8
# We use an ugly hack to force the creation of the
# destination dir, maybe somebody with more automake
# experience knows how to do this properly?
if TARGET_MACOSX
nibdatadir = $(datadir)/sdl
nibdata_DATA = \
9
10
11
SDLMain.nib/classes.nib \
SDLMain.nib/info.nib \
SDLMain.nib/objects.nib \
12
13
Info.plist
endif
14
15
EXTRA_DIST = SDLMain.h SDLMain.m
16
17
18
19
20
# The nib and exports directories need to be copied into place
# when building a distribution.
dist-hook:
(cd $(distdir) && rm -f $(BUILT_SOURCES))
21
cp -rp SDLMain.nib $(distdir)
22
23
cp -rp exports $(distdir)
(cd $(distdir) && rm -rf `find . -name CVS`)