فهرست منبع

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
Achim Gratz 13 سال پیش
والد
کامیت
7993ae4816
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 5 5
      targets.mk

+ 5 - 5
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