diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | games/classic/local.mk | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index eaf4387..012a287 100644 --- a/configure.ac +++ b/configure.ac @@ -120,6 +120,8 @@ if test "x$XCF2PNG" = "xno"; then xcftools may need to be installed.]) fi +AC_PROG_LN_S() + AC_CONFIG_FILES([Makefile]) AC_CONFIG_HEADERS([config.h]) AC_OUTPUT() 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) |