Modify Makefile to produce git log on make dist
This commit is contained in:
parent
d7c9d122f5
commit
487ea401b1
7
Makefile
7
Makefile
@ -285,12 +285,7 @@ install: $(pck_infiles:.in=) \
|
|||||||
install-apt-extras
|
install-apt-extras
|
||||||
|
|
||||||
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