cabal can now be used to build git-annex.
This is substantially slower than using make, does not build or install documentation, does not run the test suite, and is not particularly recommended, but could be useful to some.
This commit is contained in:
parent
b3aaf980e4
commit
56aeeb4565
9 changed files with 96 additions and 27 deletions
17
Setup.hs
Normal file
17
Setup.hs
Normal file
|
@ -0,0 +1,17 @@
|
|||
{- cabal setup file -}
|
||||
|
||||
import Distribution.Simple
|
||||
import System.Cmd
|
||||
|
||||
main = defaultMainWithHooks simpleUserHooks {
|
||||
preConf = makeSources,
|
||||
postClean = makeClean
|
||||
}
|
||||
|
||||
makeSources _ _ = do
|
||||
system "make sources"
|
||||
return (Nothing, [])
|
||||
|
||||
makeClean _ _ _ _ = do
|
||||
system "make clean"
|
||||
return ()
|
Loading…
Add table
Add a link
Reference in a new issue