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.
This commit is contained in:
parent
c84cda961f
commit
160cde6c0e
10
targets.mk
10
targets.mk
|
@ -48,14 +48,14 @@ local.mk:
|
||||||
-e '$$ i ## See default.mk for further configuration options.' \
|
-e '$$ i ## See default.mk for further configuration options.' \
|
||||||
default.mk > $@
|
default.mk > $@
|
||||||
|
|
||||||
all compile:: doc lisp
|
all compile::
|
||||||
$(MAKE) -C $< clean
|
$(foreach dir, doc lisp, $(MAKE) -C $(dir) clean;)
|
||||||
compile compile-dirty:: lisp
|
compile compile-dirty::
|
||||||
$(MAKE) -C $< $@
|
$(MAKE) -C lisp $@
|
||||||
all clean-install::
|
all clean-install::
|
||||||
$(foreach dir, $(SUBDIRS), $(MAKE) -C $(dir) $@;)
|
$(foreach dir, $(SUBDIRS), $(MAKE) -C $(dir) $@;)
|
||||||
|
|
||||||
check test:: all
|
check test:: compile
|
||||||
check test test-dirty::
|
check test test-dirty::
|
||||||
-$(MKDIR) $(testdir)
|
-$(MKDIR) $(testdir)
|
||||||
TMPDIR=$(testdir) $(BTEST)
|
TMPDIR=$(testdir) $(BTEST)
|
||||||
|
|
Loading…
Reference in New Issue