mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-07-25 09:21:05 +02:00
43358: enforce consistent patchlevel form
This commit is contained in:
parent
43e9a1dc97
commit
014eaf7e81
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
2018-08-31 Oliver Kiddle <okiddle@yahoo.co.uk>
|
||||
|
||||
* 43358: Src/zsh.mdd: enforce consistent patchlevel form
|
||||
|
||||
* 43357: configure.ac: isinf/isnan can be macros rather
|
||||
than functions so need a custom configure test
|
||||
|
||||
|
|
|
@ -53,8 +53,8 @@ patchlevel.h: FORCE
|
|||
@if [ -f $(sdir)/$@.release ]; then \
|
||||
cp -f $(sdir)/$@.release $@; \
|
||||
else \
|
||||
echo '#define ZSH_PATCHLEVEL "'`cd $(sdir) && git describe --tags --long`'"' > $@.tmp; \
|
||||
cmp $@ $@.tmp >/dev/null 2>&1 && rm -f $@.tmp || mv $@.tmp $@; \
|
||||
echo '#define ZSH_PATCHLEVEL "'`cd $(sdir) && git describe --tags --long --abbrev=7`'"' > $@.tmp; \
|
||||
cmp $@ $@.tmp >/dev/null 2>&1 && rm -f $@.tmp || mv -f $@.tmp $@; \
|
||||
fi
|
||||
FORCE:
|
||||
|
||||
|
|
Loading…
Reference in a new issue