Skip to content

Commit 70092bd

Browse files
committed
Include executables for simpleUserHooks and autoconfUserHooks.
1 parent 59592b6 commit 70092bd

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

Cabal/Cabal.cabal

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,3 +393,17 @@ library
393393
TypeOperators
394394
TypeSynonymInstances
395395
UndecidableInstances
396+
397+
executable Setup-simple
398+
default-language: Haskell2010
399+
main-is: src/setup_simple.hs
400+
build-depends:
401+
base,
402+
Cabal
403+
404+
executable Setup-configure
405+
default-language: Haskell2010
406+
main-is: src/setup_configure.hs
407+
build-depends:
408+
base,
409+
Cabal

Cabal/src/setup_configure.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import Distribution.Simple
2+
3+
main :: IO ()
4+
main = defaultMainWithHooks autoconfUserHooks

Cabal/src/setup_simple.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import Distribution.Simple
2+
3+
main :: IO ()
4+
main = defaultMain

0 commit comments

Comments
 (0)