/
Makefile.am
27 lines (23 loc) · 717 Bytes
1
# On OS X, install the SDLMain.nib.
2
3
4
5
6
# 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
7
masternibdatadir = $(datadir)/sdl/SDLMain.nib
8
masternibdata_DATA = \
9
SDLMain.nib
10
11
12
nibdatadir = $(datadir)/sdl
nibdata_DATA = \
13
14
15
SDLMain.nib/classes.nib \
SDLMain.nib/info.nib \
SDLMain.nib/objects.nib \
16
17
Info.plist
endif
18
19
EXTRA_DIST = SDLMain.h SDLMain.m
20
21
22
23
24
# The nib and exports directories need to be copied into place
# when building a distribution.
dist-hook:
(cd $(distdir) && rm -f $(BUILT_SOURCES))
25
cp -rp SDLMain.nib $(distdir)
26
27
cp -rp exports $(distdir)
(cd $(distdir) && rm -rf `find . -name CVS`)