summaryrefslogtreecommitdiff
path: root/utils/mkUserGuidePart
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-24 01:31:20 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-24 01:31:20 +0100
commita299f108528ed4a8ba038a5c5e9a19768a0e44e0 (patch)
tree2f4f371d3e1827c7376cd73879dac554c6cac980 /utils/mkUserGuidePart
parenta58b2d02e8c9b1ad9d630f6d0e0e01781aa2e278 (diff)
downloadhaskell-a299f108528ed4a8ba038a5c5e9a19768a0e44e0.tar.gz
Use Cabal to build mkUserGuidePart
Diffstat (limited to 'utils/mkUserGuidePart')
-rw-r--r--utils/mkUserGuidePart/ghc.mk7
-rw-r--r--utils/mkUserGuidePart/mkUserGuidePart.cabal18
2 files changed, 20 insertions, 5 deletions
diff --git a/utils/mkUserGuidePart/ghc.mk b/utils/mkUserGuidePart/ghc.mk
index 75371c352e..98dc298c30 100644
--- a/utils/mkUserGuidePart/ghc.mk
+++ b/utils/mkUserGuidePart/ghc.mk
@@ -10,13 +10,10 @@
#
# -----------------------------------------------------------------------------
-utils/mkUserGuidePart_dist_MODULES = Main
+utils/mkUserGuidePart_USES_CABAL = YES
+utils/mkUserGuidePart_PACKAGE = mkUserGuidePart
utils/mkUserGuidePart_dist_PROG = mkUserGuidePart$(exeext)
utils/mkUserGuidePart_dist_INSTALL_INPLACE = YES
utils/mkUserGuidePart_dist_PROGRAM_WAY = v
-utils/mkUserGuidePart_HC_OPTS = -package ghc
-
-utils/mkUserGuidePart/dist/build/Main.o: $(ALL_STAGE1_LIBS)
-utils/mkUserGuidePart/dist/build/Main.o: $(compiler_stage2_v_LIB)
$(eval $(call build-prog,utils/mkUserGuidePart,dist,1))
diff --git a/utils/mkUserGuidePart/mkUserGuidePart.cabal b/utils/mkUserGuidePart/mkUserGuidePart.cabal
new file mode 100644
index 0000000000..3cadaacd47
--- /dev/null
+++ b/utils/mkUserGuidePart/mkUserGuidePart.cabal
@@ -0,0 +1,18 @@
+Name: mkUserGuidePart
+Version: 0.1
+Copyright: XXX
+License: BSD3
+-- XXX License-File: LICENSE
+-- XXX Author:
+-- XXX Maintainer:
+Synopsis: XXX
+Description:
+ XXX
+build-type: Simple
+cabal-version: >=1.2
+
+Executable mkUserGuidePart
+ Main-Is: Main.hs
+ Build-Depends: base >= 3 && < 5,
+ ghc
+