Makefile: git changelog support in make dist-rpm

This commit is contained in:
Silvan Calarco 2011-07-10 17:27:37 +02:00
parent ba98e4f9d2
commit ffc8b1a50b

View File

@ -125,12 +125,7 @@ uninstall:
rm -f $(DESTDIR)$(localesdir)/*/LC_MESSAGES/$(PACKAGE).mo
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);\