Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/70a76bfb63a45730b5a295c4d19f82301df20ad4

>---------------------------------------------------------------

commit 70a76bfb63a45730b5a295c4d19f82301df20ad4
Author: Ian Lynagh <[email protected]>
Date:   Sun Oct 14 15:54:57 2012 +0100

    Use Cabal to build ghctags

>---------------------------------------------------------------

 utils/ghctags/ghc.mk        |    6 +++---
 utils/ghctags/ghctags.cabal |   20 ++++++++++++++++++++
 2 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/utils/ghctags/ghc.mk b/utils/ghctags/ghc.mk
index b167a3c..949a051 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 0000000..9ca079b
--- /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
+



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to