diff options
author | Karl Berry <karl@freefriends.org> | 2019-11-06 22:15:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-11-06 22:15:00 +0000 |
commit | 8d918f88e6d576dc1612e5625a0ad802d17c8e13 (patch) | |
tree | 7866459f67ba7f4c37d87cf9ea8846b37915fadc /Build/source/utils/asymptote/Makefile.in | |
parent | eb21dd9dc04d18b2ceda665ab6272d4a97926f38 (diff) |
asy 2.60 sources
git-svn-id: svn://tug.org/texlive/trunk@52659 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/Makefile.in')
-rw-r--r-- | Build/source/utils/asymptote/Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/Makefile.in b/Build/source/utils/asymptote/Makefile.in index 5d0a72c0d13..162ad17f360 100644 --- a/Build/source/utils/asymptote/Makefile.in +++ b/Build/source/utils/asymptote/Makefile.in @@ -104,7 +104,7 @@ latexdir = $(DESTDIR)@latexdir@ contextdir = $(DESTDIR)@contextdir@ INSTALL = @INSTALL@ REVISION = "const char *REVISION=" -last = $(shell cat revision.cc | sed -e 's/.*\"\(.*\)\";/\1/') +last = $(shell head -1 revision.cc | sed -e 's/.*\"\(.*\)\";/\1/') usinggit = $(shell if test -d ".git"; then echo yes; fi) ifeq ($(usinggit),yes) revision = $(shell LC_ALL="C" git describe --long | sed -e 's/git//' \ @@ -124,7 +124,7 @@ asy: version glew.o fi version: $(GCLIB) $(FILES:=.o) $(notdir $(UIFILES:.ui=.py)) GUI/icons_rc.py - if test ! -s revision.cc -o "$(revision)" != "$(last)"; then \ + if test ! -s revision.cc || test "$(revision)" != "$(last)"; then \ echo $(REVISION)\"$(revision)\"\; > revision.cc; \ echo const char *AsyGLVersion=\"$(ASYGLVERSION)\"\; >> revision.cc; \ if test ! -e base/webgl/asygl.js; then \ |