From 160cde6c0e4b8e02c5897c71301eca61d9f04e21 Mon Sep 17 00:00:00 2001 From: Achim Gratz Date: Fri, 18 May 2012 17:43:46 +0200 Subject: [PATCH] corrections to build system * targets.mk: Only the first dependecy was used, remove them entirely and replace with explicit foreach. Change "check" to only depend on "compile", so it does not re-make documentation. --- targets.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/targets.mk b/targets.mk index 14e928d6a..1b46f7fb5 100644 --- a/targets.mk +++ b/targets.mk @@ -48,14 +48,14 @@ local.mk: -e '$$ i ## See default.mk for further configuration options.' \ default.mk > $@ -all compile:: doc lisp - $(MAKE) -C $< clean -compile compile-dirty:: lisp - $(MAKE) -C $< $@ +all compile:: + $(foreach dir, doc lisp, $(MAKE) -C $(dir) clean;) +compile compile-dirty:: + $(MAKE) -C lisp $@ all clean-install:: $(foreach dir, $(SUBDIRS), $(MAKE) -C $(dir) $@;) -check test:: all +check test:: compile check test test-dirty:: -$(MKDIR) $(testdir) TMPDIR=$(testdir) $(BTEST)