build: cleanup Makefile
authorJulien Moutinho <julm+symantic-parser@sourcephile.fr>
Sat, 23 Oct 2021 13:53:29 +0000 (15:53 +0200)
committerJulien Moutinho <julm+symantic-parser@sourcephile.fr>
Sat, 23 Oct 2021 13:53:29 +0000 (15:53 +0200)
Makefile

index d936a2b2b112b002eb0d74b88b2912f6fd7a7157..d4bd1099f5523b5561c335f01725a8e415fb6638 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -100,7 +100,7 @@ ChangeLog.md:
        ! git tag --merged | grep -Fqx $(package)-$(version)
        git diff --exit-code
        git tag -f $(package)-$(version)
-       git-chglog --output $@.new $(package)-$(version)
+       git-chglog --output $@.new --tag-filter-pattern '$(package)-.*' $(package)-$(version)
        touch $@
        cat $@ >>$@.new
        mv -f $@.new $@
@@ -125,15 +125,6 @@ upload: tar tag
        
 publish: upload/publish
 
-nix-build:
-       nix -L build
-nix-relock:
-       nix flake update --recreate-lock-file
-nix-repl:
-       nix -L develop --command cabal repl $(CABAL_REPL_FLAGS)
-nix-shell:
-       nix -L develop
-
 .hlint.yaml: $(shell find src -name '*.hs' -not -name 'HLint.hs')
        sed -i -e '/^# BEGIN: generated hints/,/^# END: generated hints/d' $@
        echo >>$@ '# BEGIN: generated hints'