@@ -9,13 +9,20 @@ lib := ../dist/build/libHStext-$(version).a
9lib-srcs := $(shell grep '^ *Data' ../text.cabal | \
9lib-srcs := $(shell grep '^ *Data' ../text.cabal | \
10 sed -e 's,\.,/,g' -e 's,$$,.hs,')
10 sed -e 's,\.,/,g' -e 's,$$,.hs,')
12+cabal := $(shell which cabal 2>/dev/null)
12all: qc coverage
14all: qc coverage
14lib: $(lib)
16lib: $(lib)
16$(lib): $(lib-srcs:%=../%)
18$(lib): $(lib-srcs:%=../%)
17 cd .. && runghc Setup configure --user --prefix=$(HOME)
20 cd .. && runghc Setup configure --user --prefix=$(HOME)
18 cd .. && runghc Setup build
21 cd .. && runghc Setup build
23+ cd .. && cabal configure
20Properties.o: QuickCheckUtils.o
27Properties.o: QuickCheckUtils.o