summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-11-24 14:51:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-11-24 14:51:34 (GMT)
commit21b68e66bfedb1b5ef1c935435804178dee4acc4 (patch)
treeb821fa828430688bf7929a8910cd44f678ffe7e7 /unix/Makefile.in
parent3261c033d2e7b0efac1c023c890de2254c2d8bbd (diff)
downloadtcl-21b68e66bfedb1b5ef1c935435804178dee4acc4.zip
tcl-21b68e66bfedb1b5ef1c935435804178dee4acc4.tar.gz
tcl-21b68e66bfedb1b5ef1c935435804178dee4acc4.tar.bz2
Add support for subversion too
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 3447acb..2527abf 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -2232,7 +2232,10 @@ $(UNIX_DIR)/tclConfig.h.in: $(MAC_OSX_DIR)/configure
$(TOP_DIR)/manifest.uuid:
printf "git-" >$(TOP_DIR)/manifest.uuid
- (cd $(TOP_DIR); git rev-parse HEAD >>$(TOP_DIR)/manifest.uuid || printf "unknown" >$(TOP_DIR)/manifest.uuid)
+ (cd $(TOP_DIR); git rev-parse HEAD >>$(TOP_DIR)/manifest.uuid || \
+ (printf "svn-r" >$(TOP_DIR)/manifest.uuid ; \
+ svn info --show-item last-changed-revision >>$(TOP_DIR)/manifest.uuid) || \
+ printf "unknown" >$(TOP_DIR)/manifest.uuid)
dist: $(UNIX_DIR)/configure $(UNIX_DIR)/tclConfig.h.in $(UNIX_DIR)/tcl.pc.in genstubs \
$(MAC_OSX_DIR)/configure $(TOP_DIR)/manifest.uuid dist-packages ${NATIVE_TCLSH}