diff options
author | Simon Marlow <marlowsd@gmail.com> | 2009-06-16 08:44:51 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2009-06-16 08:44:51 +0000 |
commit | 39253008705e3ca590afdfa1b87bfbb5a16da7e7 (patch) | |
tree | 32557e33997a574e2cedb0570ef4d299463f1772 /rules/build-perl.mk | |
parent | 47e182d4873add885735b831f3528ee5c208cca9 (diff) | |
download | haskell-39253008705e3ca590afdfa1b87bfbb5a16da7e7.tar.gz |
eliminate "warning: overriding commnds..." from make when we're cleaning
Diffstat (limited to 'rules/build-perl.mk')
-rw-r--r-- | rules/build-perl.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/build-perl.mk b/rules/build-perl.mk index 468572c571..57406766ca 100644 --- a/rules/build-perl.mk +++ b/rules/build-perl.mk @@ -34,6 +34,8 @@ $(call clean-target,$1,$2,$1/$2 $$($1_$2_INPLACE)) .PHONY: clean_$1 clean_$1 : clean_$1_$2 +# INPLACE_BIN etc. might be empty if we're cleaning +ifeq "$(findstring clean,$(MAKECMDGOALS))" "" ifneq "$$(BINDIST)" "YES" $1/$2/$$($1_$2_PROG).prl: $1/$$($1_PERL_SRC) $$(UNLIT) "$$(MKDIRHIER)" $1/$2 @@ -53,5 +55,6 @@ $$($1_$2_INPLACE): $1/$2/$$($1_$2_PROG) "$$(CP)" $$< $$@ $$(EXECUTABLE_FILE) $$@ endif +endif endef |