X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rules%2Fbuild-perl.mk;h=301d84860c68614e3162a7a3ada99490d683109b;hb=001b9a4d8b5e3f120c419c6f6fa3dd67b1d6cd9e;hp=c232193478add7088ee0a2d6c57b49e77263ffc5;hpb=a3be88fd60cc63b97ec8509f46a8d93025760792;p=ghc-hetmet.git diff --git a/rules/build-perl.mk b/rules/build-perl.mk index c232193..301d848 100644 --- a/rules/build-perl.mk +++ b/rules/build-perl.mk @@ -20,6 +20,7 @@ define build-perl $(call trace, build-perl($1,$2)) +$(call profStart, build-perl($1,$2)) # $1 = dir # $2 = distdir @@ -29,9 +30,7 @@ else $1_$2_INPLACE = $$(INPLACE_BIN)/$$($1_$2_PROG) endif -ifeq "$$(phase_1_or_later)" "YES" $(call all-target,$1_$2,$$($1_$2_INPLACE)) -endif $(call clean-target,$1,$2,$1/$2 $$($1_$2_INPLACE)) .PHONY: clean_$1 @@ -67,4 +66,5 @@ install_$1_$2: $1/$2/$$($1_$2_PROG) endif endif +$(call profEnd, build-perl($1,$2)) endef