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
|
rm -f $(DESTDIR)$(localesdir)/*/LC_MESSAGES/$(PACKAGE).mo
|
||||||
|
|
||||||
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);\
|
||||||
|
Loading…
Reference in New Issue
Block a user