diff options
author | Joey Hess <joey@kitenet.net> | 2010-11-10 10:49:35 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-11-10 10:49:35 -0400 |
commit | 515d6b6c7d90e1ff44e791421066450cf4322b47 (patch) | |
tree | eb2b5ae47c93c5d4cd3a928295ed7658b84bf4c4 /Makefile | |
parent | 536bc97d25479ac969273b49442c2fd8c31358c4 (diff) |
Avoid using runghc to run test suite as it is not available on all architectures. Closes: #603006
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,8 +1,10 @@ all: git-annex docs +ghcmake=ghc -Wall -odir build -hidir build --make + git-annex: mkdir -p build - ghc -Wall -odir build -hidir build --make git-annex + $(ghcmake) git-annex install: install -d $(DESTDIR)/usr/bin @@ -17,7 +19,8 @@ IKIWIKI=ikiwiki endif test: - runghc test.hs + $(ghcmake) test + ./test docs: ./mdwn2man git-annex 1 doc/git-annex.mdwn > git-annex.1 @@ -27,7 +30,7 @@ docs: --disable-plugin=smiley clean: - rm -rf build git-annex git-annex.1 + rm -rf build git-annex git-annex.1 test rm -rf doc/.ikiwiki html -.PHONY: git-annex +.PHONY: git-annex test |