X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=utils%2Fhasktags%2FMakefile;fp=utils%2Fhasktags%2FMakefile;h=aa81c130938cf0910648e1abd6263bda1c0b6ffa;hp=471b339daa70c417e2e904844f42cfdc726cf9c7;hb=3e2748164e3e2e2dc21ca511959671f0f5f2e37f;hpb=82dc0d197b39b6462d1a19e4c556f7acdf376ee9 diff --git a/utils/hasktags/Makefile b/utils/hasktags/Makefile index 471b339d..aa81c13 100644 --- a/utils/hasktags/Makefile +++ b/utils/hasktags/Makefile @@ -1,7 +1,13 @@ TOP=../.. include $(TOP)/mk/boilerplate.mk -HS_PROG = hasktags +# We have two version: the inplace version compiled by the bootstrap compiler +# and the install version compiled by the stage 1 compiler +ifeq "$(stage)" "2" +HS_PROG = hasktags +else +HS_PROG = hasktags-inplace +endif CLEAN_FILES += Main.hi