--- /dev/null
+# -----------------------------------------------------------------------------
+#
+# (c) 2009 The University of Glasgow
+#
+# This file is part of the GHC build system.
+#
+# To understand how the build system works and how to modify it, see
+# http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
+# http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
+#
+# -----------------------------------------------------------------------------
+
+utils/ghctags_dist_MODULES = Main
+utils/ghctags_dist_HC_OPTS = -package ghc
+utils/ghctags_dist_INSTALL = NO
+utils/ghctags_dist_PROG = ghctags$(exeext)
+$(eval $(call build-prog,utils/ghctags,dist,2))