summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/svn-multi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/svn-multi/Makefile')
-rw-r--r--Master/texmf-dist/source/latex/svn-multi/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/svn-multi/Makefile b/Master/texmf-dist/source/latex/svn-multi/Makefile
index fc3662c8d2b..b6b663f2aa2 100644
--- a/Master/texmf-dist/source/latex/svn-multi/Makefile
+++ b/Master/texmf-dist/source/latex/svn-multi/Makefile
@@ -75,7 +75,8 @@ group_example.pdf: group_example.tex svn-multi.sty
zip: fullclean package doc example tests ${ZIPFILE}
${PACKAGE}.zip: zip
-zip: ZIPVERSION=$(shell grep '\\def\\fileversion{.*}' svn-multi.dtx | sed -e 's/\\def\\fileversion{\(.*\)}/\1/' -e 's/\s\+//g')
+zip: ZIPVERSION=$(shell grep 'Package: svn-multi ' svn-multi.log | \
+ sed -e 's/.*Package: svn-multi ....\/..\/..\s\+\(v\S\+\).*/\1/')
${ZIPFILE}: ${PACKFILES}
grep -q '\* Checksum passed \*' svn-multi.log