Makefile: fix make dist using git Changelog

This commit is contained in:
Silvan Calarco 2011-08-08 00:50:32 +02:00
parent 6786324814
commit 45734ad4fb

View File

@ -171,12 +171,7 @@ install: $(pck_infiles:.in=) \
install-icons
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);\