diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile | 7 |
2 files changed, 10 insertions, 2 deletions
@@ -1,5 +1,10 @@ 2014-12-05 Kaz Kylheku <kaz@kylheku.com> + * Makefile (SRCS): Compute from top_srcdir, so we don't get a warning + from git, and "make enforce" works from out of three builds. + +2014-12-05 Kaz Kylheku <kaz@kylheku.com> + * configure: Bugfix: the "share" directory has to be symbolically linked. Without this, tests which require txr to have access to its library do not work. @@ -44,8 +44,11 @@ OBJS += arith.o hash.o utf8.o filter.o eval.o rand.o combi.o sysif.o OBJS-$(debug_support) += debug.o OBJS-$(have_syslog) += syslog.o OBJS-$(have_posix_sigs) += signal.o -SRCS := $(filter-out lex.yy.c y.tab.c y.tab.h,\ - $(shell git ls-files "*.c" "*.h" "*.l" "*.y")) +SRCS := $(addprefix $(top_srcdir)/,\ + $(filter-out lex.yy.c y.tab.c y.tab.h,\ + $(shell git --work-tree=$(top_srcdir) \ + --git-dir=$(top_srcdir)/.git \ + ls-files "*.c" "*.h" "*.l" "*.y"))) # MPI objects MPI_OBJ_BASE=mpi.o mplogic.o |