From b7e0e97d14c7ffdae519ccab9977e9ae777b3f92 Mon Sep 17 00:00:00 2001 From: Thomas Schilling Date: Tue, 14 Oct 2008 21:12:36 +0000 Subject: [PATCH] Make tags work on Unices, too. --- compiler/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/compiler/Makefile b/compiler/Makefile index 407cea6..adf6aeb 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -486,8 +486,11 @@ LIB_DIST_DIR = dist-stage2 #----------------------------------------------------------------------------- # etags generation - -GHCTAGS = $(TOP)/utils/ghctags/ghctags +ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32" +GHCTAGS = $(TOP)/utils/ghctags/ghctags.exe +else +GHCTAGS = $(TOP)/utils/ghctags/ghctags-inplace +endif GHCTAGS_ROOT = main/GHC.hs # etags for stage2 is actually broken since it requires building -- 1.7.10.4