diff --git a/Makefile.am b/Makefile.am index 1582f4afd..e46199b57 100644 --- a/Makefile.am +++ b/Makefile.am @@ -114,6 +114,10 @@ dist: sile-$(VERSION).pdf sile-$(VERSION).md sile-$(VERSION).pdf: $(MANUAL) cp $(MANUAL) $@ +sile-%.md: CHANGELOG.md + $(SED) -e '/\.\.\.v$*/,/\.\.\.v/!d' CHANGELOG.md | \ + $(SED) -e '1,3d;N;$$!P;$$!D;$$d' > $@ + check: selfcheck .PHONY: selfcheck @@ -203,10 +207,6 @@ release-preview: release: tagrelease -sile-%.md: CHANGELOG.md - $(SED) -e '/\.\.\.v$*/,/\.\.\.v/!d' CHANGELOG.md | \ - $(SED) -e '1,3d;N;$$!P;$$!D;$$d' > $@ - update_libtexpdf: $(GIT) diff-index --quiet --cached HEAD || exit 1 # die if anything already staged $(GIT) submodule update --init --remote -- libtexpdf