PKGS := symantic-grammar symantic-document symantic symantic-lib
-HS := $(shell find $(PKGS) -name '*.hs')
+HS := $(shell find $(PKGS) -name '*.hs' -not -name 'HLint.hs')
all: build
cd $*; if hlint --quiet --report=hlint.html -XNoCPP \
$(shell cabal-cargs --format=ghc --only=default_extensions --sourcefile=$*) $(HLINT_FLAGS) .; \
then rm -f hlint.html; \
- else sensible-browser hlint.html & fi
+ else sensible-browser ./hlint.html & fi
tag: $(PKGS:=/tag)
%/tag:
tar: $(PKGS:=/tar)
%/tar:
- cd $*; LANG=C stack $(STACK_FLAGS) sdist --sign
+ cd $*; stack $(STACK_FLAGS) sdist $(STACK_SDIST_FLAGS)
upload: $(PKGS:=/upload)
%/upload:
- cd $*; LANG=C stack $(STACK_FLAGS) upload .
+ cd $*; LANG=C stack $(STACK_FLAGS) upload $(STACK_UPLOAD_FLAGS) .
.PHONY: stats
stats: