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
dist: clean
@case `sed 15q ChangeLog` in \
*"$(VERSION)"*) : ;; \
*) \
echo "ChangeLog not updated; not releasing" 1>&2;\
exit 1;; \
esac
@git log > ChangeLog.git
@mkdir /tmp/$(distdir)
@cp -a * /tmp/$(distdir)/
@rm -f $(dist_archive);\