diff options
author | Ian Lynagh <igloo@earth.li> | 2011-12-03 00:34:30 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-12-03 00:34:30 +0000 |
commit | fe05c0224ec00ff71742e62674a47f346cd1b3e3 (patch) | |
tree | 3d8d84d2e7a1d7e930e7da1ea05e49a3cb13741c /rules/build-prog.mk | |
parent | 4fb390370051439c89958be96308d6d0577ff864 (diff) | |
download | haskell-fe05c0224ec00ff71742e62674a47f346cd1b3e3.tar.gz |
Remove some unnecessary touch's
They made a dependency cycle in the rules used to build the touch
program on Windows.
Diffstat (limited to 'rules/build-prog.mk')
-rw-r--r-- | rules/build-prog.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rules/build-prog.mk b/rules/build-prog.mk index aa66516a11..69c5bd5965 100644 --- a/rules/build-prog.mk +++ b/rules/build-prog.mk @@ -94,9 +94,8 @@ $(call all-target,$1_$2,$1/$2/build/tmp/$$($1_$2_PROG)) # INPLACE_BIN might be empty if we're distcleaning ifeq "$(findstring clean,$(MAKECMDGOALS))" "" ifneq "$$($1_$2_INSTALL_INPLACE)" "NO" -$$($1_$2_INPLACE) : $1/$2/build/tmp/$$($1_$2_PROG) $$(TOUCH_DEP) | $$$$(dir $$$$@)/. +$$($1_$2_INPLACE) : $1/$2/build/tmp/$$($1_$2_PROG) | $$$$(dir $$$$@)/. "$$(CP)" -p $$< $$@ - "$$(TOUCH_CMD)" $$@ endif endif |