diff options
author | Ian Lynagh <igloo@earth.li> | 2009-10-02 19:12:18 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-10-02 19:12:18 +0000 |
commit | 883d980815437736c486bf69b2f066ef918d2989 (patch) | |
tree | 51590d522003ca6220ff2ee98f29c1c67991fb4c /rules/build-dependencies.mk | |
parent | 6a2a21971ae1a29bf296ecc8652f7cb86b71e7bb (diff) | |
download | haskell-883d980815437736c486bf69b2f066ef918d2989.tar.gz |
Use "order only constraints" for directories
There are now 104 calls to mkdirhier, down from 1201, when validating.
Diffstat (limited to 'rules/build-dependencies.mk')
-rw-r--r-- | rules/build-dependencies.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rules/build-dependencies.mk b/rules/build-dependencies.mk index 2ab503f1b6..68d45c82b6 100644 --- a/rules/build-dependencies.mk +++ b/rules/build-dependencies.mk @@ -21,8 +21,7 @@ endif ifneq "$$($1_$2_NO_BUILD_DEPS)" "YES" -$$($1_$2_depfile) : $$(MKDIRHIER) $$(MKDEPENDC) $$($1_$2_HS_SRCS) $$($1_$2_HS_BOOT_SRCS) $$($1_$2_HC_MK_DEPEND_DEP) $$($1_$2_C_FILES) $$($1_$2_S_FILES) - "$$(MKDIRHIER)" $1/$2/build +$$($1_$2_depfile) : $$(MKDEPENDC) $$($1_$2_HS_SRCS) $$($1_$2_HS_BOOT_SRCS) $$($1_$2_HC_MK_DEPEND_DEP) $$($1_$2_C_FILES) $$($1_$2_S_FILES) | $$$$(dir $$$$@)/. "$$(RM)" $$(RM_OPTS) $$@.tmp touch $$@.tmp ifneq "$$($1_$2_C_SRCS)$$($1_$2_S_SRCS)" "" |