about summary refs log tree commit diff
path: root/Makefile.in
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2013-04-09 20:21:57 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2013-04-09 20:21:57 +0100
commit369dc3a107f19b43a3a7dc9efbd7fb03ee574eeb (patch)
treea6dbfe0cc378ea0c321f010d3a8736d3af1aaaae /Makefile.in
parent18bba821018acc28ff62ae1944de03b3dd334997 (diff)
downloadzsh-369dc3a107f19b43a3a7dc9efbd7fb03ee574eeb.tar.gz
zsh-369dc3a107f19b43a3a7dc9efbd7fb03ee574eeb.tar.xz
zsh-369dc3a107f19b43a3a7dc9efbd7fb03ee574eeb.zip
31246: make a separate patch level header for releases
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 5fb736f2c..a29ab7885 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -160,6 +160,7 @@ targz-src: $(DISTNAME).tar.gz
 $(DISTNAME).tar.gz: FORCE
 	@$(sdir_top)/Util/mkdisttree.sh $(DISTNAME) $(sdir_top) $(dir_top) SRC \
 	    $(MAKE) $(MAKEDEFS)
+	echo '#define ZSH_PATCHLEVEL "'`git describe --tags --long`'"' >$(DISTNAME)/Src/patchlevel.h.release
 	tar cf - $(DISTNAME) | gzip -9 > $@
 	rm -rf $(DISTNAME)