/
Makefile.am
27 lines (23 loc) · 726 Bytes
1
# On OS X, install the SDL_main.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/SDL_main.nib
8
masternibdata_DATA = \
9
SDL_main.nib
10
11
12
nibdatadir = $(datadir)/sdl
nibdata_DATA = \
13
14
15
SDL_main.nib/classes.nib \
SDL_main.nib/info.nib \
SDL_main.nib/objects.nib \
16
17
Info.plist
endif
18
19
EXTRA_DIST = SDL_main.h SDL_main.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 SDL_main.nib $(distdir)
26
27
cp -rp exports $(distdir)
(cd $(distdir) && rm -rf `find . -name CVS`)