Makefile: git changelog support in make dist-rpm
This commit is contained in:
parent
ba98e4f9d2
commit
ffc8b1a50b
7
Makefile
7
Makefile
@ -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);\
|
||||
|
Loading…
Reference in New Issue
Block a user