diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-03-16 06:03:44 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2021-03-16 06:03:44 (EDT) |
commit | 331d7f379e1ab68ad2e002284101ee670445e178 (patch) | |
tree | 9209bf69d244b0516406b2e9a5612f78e687ba28 /games | |
parent | 502f1bffc4a2b4cc6358770a563b03af7dc7f8b1 (diff) | |
download | dodge-balls-331d7f379e1ab68ad2e002284101ee670445e178.zip dodge-balls-331d7f379e1ab68ad2e002284101ee670445e178.tar.gz dodge-balls-331d7f379e1ab68ad2e002284101ee670445e178.tar.bz2 |
build: Link rather than copy game data
Diffstat (limited to 'games')
-rw-r--r-- | games/classic/local.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/games/classic/local.mk b/games/classic/local.mk index ee679fb..46424a6 100644 --- a/games/classic/local.mk +++ b/games/classic/local.mk @@ -24,7 +24,8 @@ nodist_games_classic_DATA = \ # 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)/$@" "$@" + $(AM_V_GEN)[ x"$(srcdir)" = x"$(builddir)" ] || \ + $(LN_S) "$(abs_srcdir)/$@" "$@" %reldir%/$(am__dirstamp): @$(MKDIR_P) %reldir% @: > %reldir%/$(am__dirstamp) |