aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-18 13:30:42 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-18 13:30:42 -0400
commit54513c69baffa40f2fcce42eb8651fdd98e05277 (patch)
treef3934b369e7b5b259b88abeee228381fb2bcd6e0 /Makefile
parent5c7d1b027916ce3fc207329f926041d2bcad3bcd (diff)
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 77e7a5edb..685044146 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,11 @@ all: git-annex docs
ghcmake=ghc -Wall -odir build -hidir build -O2 --make
-git-annex:
+SysConfig.hs:
+ $(ghcmake) configure
+ ./configure
+
+git-annex: SysConfig.hs
$(ghcmake) git-annex
install:
@@ -29,7 +33,7 @@ docs:
--disable-plugin=smiley
clean:
- rm -rf build git-annex git-annex.1 test
+ rm -rf build git-annex git-annex.1 test configure SysConfig.hs
rm -rf doc/.ikiwiki html
.PHONY: git-annex test install