]> git.lizzy.rs Git - rust.git/commitdiff
Make install and check targets depend on all. Close #1395.
authorGraydon Hoare <graydon@mozilla.com>
Fri, 30 Dec 2011 20:48:07 +0000 (12:48 -0800)
committerGraydon Hoare <graydon@mozilla.com>
Fri, 30 Dec 2011 20:48:07 +0000 (12:48 -0800)
mk/install.mk
mk/tests.mk

index 27e6de021a8632aba6a40ce915b3de4764e1c38b..fec61ff6bc531ea1691441eb3909d62d35d6b94f 100644 (file)
@@ -52,7 +52,7 @@ $(foreach target,$(CFG_TARGET_TRIPLES), \
 INSTALL_TARGET_RULES = $(foreach target,$(CFG_TARGET_TRIPLES), \
  install-target-$(target)-host-$(CFG_HOST_TRIPLE))
 
-install: install-host install-targets
+install: all install-host install-targets
 
 # Shorthand for build/stageN/bin
 HB = $(HBIN$(ISTAGE)_H_$(CFG_HOST_TRIPLE))
index 98922c33d13a6d64eff41ea1f8297e062d50156d..08790c0766ad6c23bd99321f4f955b039d009959 100644 (file)
@@ -70,9 +70,9 @@ endif
 # Main test targets
 ######################################################################
 
-check: tidy check-stage3 \
+check: all tidy check-stage3 \
 
-check-full: tidy check-stage1 check-stage2 check-stage3 \
+check-full: all tidy check-stage1 check-stage2 check-stage3 \
 
 # Run the tidy script in multiple parts to avoid huge 'echo' commands
 ifdef CFG_NOTIDY