diff options
Diffstat (limited to 'games/classic')
-rw-r--r-- | games/classic/local.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/games/classic/local.mk b/games/classic/local.mk index 6ed0233..ee679fb 100644 --- a/games/classic/local.mk +++ b/games/classic/local.mk @@ -20,3 +20,11 @@ dist_noinst_DATA = \ nodist_games_classic_DATA = \ %reldir%/tileset.png + +# 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) $(dist_noinst_DATA): %reldir%/$(am__dirstamp) + $(AM_V_GEN)[ x"$(srcdir)" = x"$(builddir)" ] || cp "$(srcdir)/$@" "$@" +%reldir%/$(am__dirstamp): + @$(MKDIR_P) %reldir% + @: > %reldir%/$(am__dirstamp) |