Fix handling of Fixity in showType.
[haskell/symantic.git] / GNUmakefile
index d8a38460ae7a78057895dd6779d20e87bbeec065..af1992bbd4f11d53ca5ec9cf75b645e9d0065d6b 100644 (file)
@@ -1,10 +1,11 @@
-PKGS := symantic-grammar symantic symantic-lib
+PKGS := symantic-grammar symantic-document symantic symantic-lib
 
 all: build
 
 build: $(PKGS:=/build)
 %/build:
        cd $*; stack $(STACK_FLAGS) build $(STACK_BUILD_FLAGS)
+.PHONY: $(PKGS) $(foreach p,$(PKGS),$(eval $p: $p/build))
 
 test: $(PKGS:=/test)
 %/test:
@@ -21,7 +22,7 @@ tag: $(PKGS:=/tag)
        name=$$(sed -ne 's/^name: *\(.*\)/\1/p' "$$cabal"); \
        version=$$(sed -ne 's/^version: *\(.*\)/\1/p' "$$cabal"); \
        git tag --merged | grep -Fqx "$$name-$$version" || \
-       git tag -s -m "$$name v$$version" $$name-$$version
+       git tag -f -s -m "$$name v$$version" $$name-$$version
 
 .PHONY: stats
 stats: