summaryrefslogtreecommitdiff
path: root/compiler/Makefile
diff options
context:
space:
mode:
authorThomas Schilling <nominolo@googlemail.com>2008-10-14 21:12:36 +0000
committerThomas Schilling <nominolo@googlemail.com>2008-10-14 21:12:36 +0000
commitb7e0e97d14c7ffdae519ccab9977e9ae777b3f92 (patch)
tree377a8cde4cc8c1bc63ecb6391405f922019b5b67 /compiler/Makefile
parent59dfaeef666fdc240b548ba07259ce2edfc84679 (diff)
downloadhaskell-b7e0e97d14c7ffdae519ccab9977e9ae777b3f92.tar.gz
Make tags work on Unices, too.
Diffstat (limited to 'compiler/Makefile')
-rw-r--r--compiler/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index 407cea6017..adf6aeb424 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