From 7993ae4816d5e8f11b0f0fa4279a8602e28707d2 Mon Sep 17 00:00:00 2001 From: Achim Gratz Date: Sun, 22 Apr 2012 08:05:51 +0200 Subject: [PATCH] fix bug introduced with aliasing target "doc" to "docs" * targets.mk: $(SUBDIRS) must not be used as a dependency since "doc" is both an existing directory and a phony target --- targets.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/targets.mk b/targets.mk index d2b5bd967..394e55e89 100644 --- a/targets.mk +++ b/targets.mk @@ -21,7 +21,7 @@ ifneq ($(GITSTATUS),) endif .PHONY: default all oldorg up2 update compile lisp doc etc \ - check test install info html pdf card docs $(INSTSUB) \ + check test install info html pdf card doc docs $(INSTSUB) \ autoloads cleanall clean cleancontrib cleanrel clean-install \ cleanelc cleandirs cleanlisp cleandoc cleandocs cleantest @@ -37,8 +37,8 @@ compile-dirty:: lisp $(MAKE) -C $< $@ all \ -clean-install:: $(SUBDIRS) - $(foreach dir, $?, $(MAKE) -C $(dir) $@;) +clean-install:: + $(foreach dir, $(SUBDIRS), $(MAKE) -C $(dir) $@;) check test:: all @@ -73,8 +73,8 @@ $(INSTSUB): autoloads: lisp $(MAKE) -C $< $@ -cleandirs: $(SUBDIRS) - $(foreach dir, $?, $(MAKE) -C $(dir) cleanall;) +cleandirs: + $(foreach dir, $(SUBDIRS), $(MAKE) -C $(dir) cleanall;) clean: cleanrel $(MAKE) -C lisp clean -- 2.11.4.GIT