in putty do echo '$#define TEXTVER "$(Textver)"' >> version.h
in putty do echo '$#define SSHVER "$(Sshver)"' >> version.h
in putty do echo '$#define BINARY_VERSION $(Winvercommas)' >> version.h
+in putty do echo '$#define SOURCE_COMMIT "$(vcsfullid)"' >> version.h
# Set up the extra arguments for the main Windows nmake command. The
# user can define XFLAGS and MAKEARGS on the bob command line, to pass
+ xpmpucfg gtkapp
osxlaunch : [UT] osxlaunch
-fuzzterm : [UT] UXTERM CHARSET misc uxmisc uxucs fuzzterm time settings
+fuzzterm : [UT] UXTERM CHARSET misc version uxmisc uxucs fuzzterm time settings
+ uxstore be_none
-testbn : [UT] testbn sshbn misc conf tree234 uxmisc
-testbn : [C] testbn sshbn misc conf tree234 winmisc LIBS
+testbn : [UT] testbn sshbn misc version conf tree234 uxmisc
+testbn : [C] testbn sshbn misc version conf tree234 winmisc LIBS
# ----------------------------------------------------------------------
# On Windows, provide a means of removing local test binaries that we
char *buildinfo(const char *newline)
{
strbuf *buf = strbuf_new();
+ extern const char commitid[]; /* in commitid.c */
strbuf_catf(buf, "Build platform: %d-bit %s",
(int)(CHAR_BIT * sizeof(void *)),
strbuf_catf(buf, "%sBuild option: DEBUG", newline);
#endif
+ strbuf_catf(buf, "%sSource commit: %s", newline, commitid);
+
return strbuf_to_str(buf);
}
const char ver[] = TEXTVER;
const char sshver[] = SSHVER;
+const char commitid[] = SOURCE_COMMIT;
/*
* SSH local version string MUST be under 40 characters. Here's a
#define TEXTVER "Unidentified build"
#define SSHVER "PuTTY-Unidentified-Local-Build"
#define BINARY_VERSION 0,0,0,0
+#define SOURCE_COMMIT "unavailable"