X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0d66f3e510572d738a78343d672789cf16419eb1..44ca45ed32921dbd1945065fc8fff2467acafb13:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 413e3f5c..1a93d89c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -46,9 +46,9 @@ MAINTAINERCLEANFILES = cscope.files cscope.out ## ## And our own superclean, to get everything left by maintainer-clean. ## -SUPERCLEANFILES = Makefile.in aclocal.m4 compile config.guess config.h.in \ - config.h.in~ config.sub configure depcomp install-sh missing \ - ylwrap nmh-*.tar.gz +SUPERCLEANFILES = ChangeLog Makefile.in aclocal.m4 compile config.guess \ + config.h.in config.h.in~ config.sub configure depcomp \ + install-sh missing ylwrap nmh-*.tar.gz superclean: maintainer-clean @rm -f $(SUPERCLEANFILES) .PHONY: superclean @@ -484,6 +484,11 @@ man/man.sed: Makefile .man.$(manext8): $(SED) -f man/man.sed $< > $@ +## Don't include commit hashes in ChangeLog. +ChangeLog: + @git --no-pager log --abbrev-commit | \ + egrep -v '^commit [0-9a-f]+$$' > $@ + ## ## Our RPM build target ##