summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-01-15 13:26:17 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-01-15 13:49:32 -0400
commit81856c3175fb011f4c9559a5be55c51ec6ad71cf (patch)
tree36822dd5ef61e2556b5c82f4d12f35488aca6a69 /Makefile
parent0eed604446ce09e375b8f409fc77d98df9459c23 (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c7e5e5e12..43d498f1c 100644
--- a/Makefile
+++ b/Makefile
@@ -21,11 +21,13 @@ endif
all: $(all)
+sources: $(sources)
+
# Disables optimisation. Not for production use.
fast: GHCFLAGS=-Wall $(IGNORE)
fast: $(bins)
-Build/SysConfig.hs: configure.hs Build/TestConfig.hs
+Build/SysConfig.hs: configure.hs Build/TestConfig.hs Utility/StatFS.hs
$(GHCMAKE) configure
./configure