diff options
author | Joey Hess <joey@kitenet.net> | 2011-06-30 14:55:03 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-06-30 14:55:03 -0400 |
commit | 56aeeb4565dd419c315d370f6e648abfe009a7d3 (patch) | |
tree | 224bbf233bc99bd1ac8584dd0ec1b3838de8e920 /Makefile | |
parent | b3aaf980e460c2287fc1ef2b262685b1879e6ed0 (diff) |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -11,6 +11,8 @@ mans=git-annex.1 git-annex-shell.1 git-union-merge.1 all: $(bins) $(mans) docs +sources: SysConfig.hs StatFS.hs Touch.hs Remote/S3.hs + SysConfig.hs: configure.hs TestConfig.hs $(GHCMAKE) configure ./configure @@ -19,8 +21,10 @@ SysConfig.hs: configure.hs TestConfig.hs hsc2hs $< perl -i -pe 's/^{-# INCLUDE.*//' $@ -Remote/S3.o: +Remote/S3.hs: @ln -sf S3real.hs Remote/S3.hs + +Remote/S3.o: Remote/S3.hs @if ! $(GHCMAKE) Remote/S3.hs; then \ ln -sf S3stub.hs Remote/S3.hs; \ echo "** building without S3 support"; \ |