summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/ghctags/ghc.mk6
-rw-r--r--utils/ghctags/ghctags.cabal20
2 files changed, 23 insertions, 3 deletions
diff --git a/utils/ghctags/ghc.mk b/utils/ghctags/ghc.mk
index b167a3c069..949a05174b 100644
--- a/utils/ghctags/ghc.mk
+++ b/utils/ghctags/ghc.mk
@@ -10,9 +10,9 @@
#
# -----------------------------------------------------------------------------
-utils/ghctags_dist-install_MODULES = Main
-utils/ghctags_dist-install_HC_OPTS = -package ghc
+utils/ghctags_USES_CABAL = YES
+utils/ghctags_PACKAGE = ghctags
+utils/ghctags_dist-install_PROG = ghctags$(exeext)
utils/ghctags_dist-install_INSTALL = NO
utils/ghctags_dist-install_INSTALL_INPLACE = YES
-utils/ghctags_dist-install_PROG = ghctags$(exeext)
$(eval $(call build-prog,utils/ghctags,dist-install,2))
diff --git a/utils/ghctags/ghctags.cabal b/utils/ghctags/ghctags.cabal
new file mode 100644
index 0000000000..9ca079b71a
--- /dev/null
+++ b/utils/ghctags/ghctags.cabal
@@ -0,0 +1,20 @@
+Name: ghctags
+Version: 0.1
+Copyright: XXX
+License: BSD3
+-- XXX License-File: LICENSE
+Author: XXX
+Maintainer: XXX
+Synopsis: XXX
+Description:
+ XXX
+Category: Development
+build-type: Simple
+cabal-version: >=1.2
+
+Executable ghctags
+ Main-Is: Main.hs
+
+ Build-Depends: base >= 4 && < 5,
+ ghc
+