This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
git-annex
Watch
2
Star
0
Fork
You've already forked git-annex
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
08f026e886
git-annex
/
configure.hs
7 lines
80 B
Haskell
Raw
Normal View
History
Unescape
Escape
Setup.hs: import configure Rather than running make, which runs configure, let Setup.hs just include the configure code. The standalone configure is retained for use by the Makefile. This may work better with cabal-dev, since it avoids the Makefile running ghc, and lets cabal handle all the compiler running, with whatever flags it uses to expose dependencies.
2012-03-10 18:00:26 +00:00
{-
configure program
-}
Add configure step to build process. * configure: Check to see if cp -a can be used. * configure: Check to see if cp --reflink=auto can be used.
2010-11-18 17:30:42 +00:00
Rewrote free disk space checking code Moving the portability handling into a small C library cleans up things a lot, avoiding the pain of unpacking structs from inside haskell code.
2012-03-22 21:09:54 +00:00
import
Build.Configure
add a configure check for StatFS This way, the build log will indicate whether StatFS can be relied on. I've tested all the failing architectures now, and on all of them, the StatFS code now returns Nothing, rather than Just nonsense. Also, if annex.diskreserve is set on a platform where StatFS is not working, git-annex will complain. Also, the Makefile was missing the sources target used when building with cabal.
2012-01-15 17:26:17 +00:00
tweak
2010-11-18 18:11:18 +00:00
main
::
IO
()
Rewrote free disk space checking code Moving the portability handling into a small C library cleans up things a lot, avoiding the pain of unpacking structs from inside haskell code.
2012-03-22 21:09:54 +00:00
main
=
run
tests
Reference in a new issue
Copy permalink