OSDN Git Service

After running ./configure, make distcheck fails: it uses a VPATH build where the...
authorEric Branlund <ebranlund@fastmail.com>
Sun, 25 Aug 2019 06:23:02 +0000 (23:23 -0700)
committerEric Branlund <ebranlund@fastmail.com>
Sun, 25 Aug 2019 06:23:02 +0000 (23:23 -0700)
src/Makefile.am

index 54783e2..e71ed93 100644 (file)
@@ -98,7 +98,7 @@ EXTRA_hengband_SOURCES = \
 EXTRA_DIST = \
        gcc-wrap
 
-COMPILE = ./gcc-wrap $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+COMPILE = $(srcdir)/gcc-wrap $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
 install-exec-hook: