Changeset 3730 for trunk/lang
- Timestamp:
- Jun 29, 2013, 3:43:27 PM (11 years ago)
- Location:
- trunk/lang/tcl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lang/tcl/scripts/result.tcl
r3362 r3730 40 40 } 41 41 42 $libobj put tool.version.rappture.revision "\$LastChangedRevision$" 42 # I can't stand that there are two versions of this. I spend more time 43 # tracking down problems that exist in the one version but not the other. 44 # For example, it matters if the tool is running TCL or some other 45 # language. 46 47 $libobj put tool.version.rappture.version $::Rappture::version 48 $libobj put tool.version.rappture.revision $::Rappture::build 43 49 $libobj put tool.version.rappture.modified "\$LastChangedDate$" 44 50 $libobj put tool.version.rappture.language "tcl" -
trunk/lang/tcl/src/Makefile.in
r2890 r3730 39 39 -I$(srcdir)/../../../src/objects \ 40 40 -I$(includedir) 41 version = @PACKAGE_VERSION@ 42 DEFINES = -DPACKAGE_VERSION=\"$(version)\" 41 RAPPTURE_VERSION = @PACKAGE_VERSION@ 42 SVN_VERSION := $(shell svnversion $(srcdir)) 43 DEFINES = -DSVN_VERSION=\"$(SVN_VERSION)\" \ 44 -DRAPPTURE_VERSION=\"$(RAPPTURE_VERSION)\" 43 45 44 46 RANLIB = @RANLIB@ … … 79 81 # Not using RpLibraryTclInterface.o \ 80 82 81 name = Rappture$( version)83 name = Rappture$(RAPPTURE_VERSION) 82 84 libname = $(name) 83 85 lib = $(libname)$(SHLIB_SUFFIX) -
trunk/lang/tcl/src/Rappture_Init.c
r3404 r3730 50 50 return TCL_ERROR; 51 51 } 52 if (Tcl_PkgProvide(interp, "Rappture", PACKAGE_VERSION) != TCL_OK) { 52 if (Tcl_PkgProvide(interp, "Rappture", RAPPTURE_VERSION) != TCL_OK) { 53 return TCL_ERROR; 54 } 55 if (Tcl_SetVar(interp, "::Rappture::version", RAPPTURE_VERSION, 56 TCL_GLOBAL_ONLY | TCL_LEAVE_ERR_MSG) == NULL) { 57 return TCL_ERROR; 58 } 59 if (Tcl_SetVar(interp, "::Rappture::build", SVN_VERSION, 60 TCL_GLOBAL_ONLY | TCL_LEAVE_ERR_MSG) == NULL) { 53 61 return TCL_ERROR; 54 62 }
Note: See TracChangeset
for help on using the changeset viewer.