summaryrefslogtreecommitdiffstats
path: root/games/classic/local.mk
blob: 3af581a019d99c9ac297cf8821b0576475781f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
games_classicdir = $(gamesdir)/classic
uninstall_dirs += $(games_classicdir)

dist_games_classic_DATA = \
	%reldir%/game.xml \
	%reldir%/icon.tmx \
	%reldir%/level01.tmx \
	%reldir%/level02.tmx \
	%reldir%/level03.tmx \
	%reldir%/level04.tmx \
	%reldir%/level05.tmx \
	%reldir%/level06.tmx \
	%reldir%/level07.tmx \
	%reldir%/level08.tmx \
	%reldir%/level09.tmx \
	%reldir%/level10.tmx \
	%reldir%/tileset.tsx

dist_noinst_DATA = \
	%reldir%/tileset.xcf

nodist_games_classic_DATA = \
	%reldir%/tileset.png

CLEANFILES += \
	$(nodist_games_classic_DATA)
if OUT_OF_TREE
CLEANFILES += \
	$(dist_games_classic_DATA)
endif

# To run in place, the engine needs game data in the build directory, which may
# be different from the source directory.
$(dist_games_classic_DATA): %reldir%/$(am__dirstamp)
	$(AM_V_GEN)[ x"$(srcdir)" = x"$(builddir)" ] || \
		$(LN_S) "$(abs_srcdir)/$@" "$@"
CONFIG_CLEAN_FILES += %reldir%/$(am__dirstamp)
%reldir%/$(am__dirstamp):
	@$(MKDIR_P) %reldir%
	@: > %reldir%/$(am__dirstamp)