]> Git — Sourcephile - haskell/symantic.git/blob - GNUmakefile
Fix comment typo.
[haskell/symantic.git] / GNUmakefile
1 PKGS := symantic-grammar symantic symantic-lib
2
3 all: build
4
5 build: $(PKGS:=/build)
6 %/build:
7 cd $*; stack $(STACK_FLAGS) build $(STACK_BUILD_FLAGS)
8
9 test: $(PKGS:=/test)
10 %/test:
11 ! grep -q '^Test-Suite\>' $*/$*.cabal || \
12 { cd $*; stack $(STACK_FLAGS) test $(STACK_BUILD_FLAGS); }
13
14 clean: $(PKGS:=/clean)
15 %/clean:
16 cd $*; stack $(STACK_FLAGS) clean
17
18 .PHONY: stats
19 stats:
20 gitstats . $@
21 stats/view: stats
22 sensible-browser stats/index.html