Modify Makefile to produce git log on make dist

This commit is contained in:
Silvan Calarco 2011-06-07 15:35:19 +02:00
parent d7c9d122f5
commit 487ea401b1

View File

@ -285,12 +285,7 @@ install: $(pck_infiles:.in=) \
install-apt-extras install-apt-extras
dist: clean dist: clean
@case `sed 15q ChangeLog` in \ @git log > ChangeLog.git
*"$(VERSION)"*) : ;; \
*) \
echo "ChangeLog not updated; not releasing" 1>&2;\
exit 1;; \
esac
@mkdir /tmp/$(distdir) @mkdir /tmp/$(distdir)
@cp -a * /tmp/$(distdir)/ @cp -a * /tmp/$(distdir)/
@rm -f $(dist_archive);\ @rm -f $(dist_archive);\