]> asedeno.scripts.mit.edu Git - PuTTY.git/blob - version.h
first pass
[PuTTY.git] / version.h
1 /*
2  * This header file provides the various versioning-related #defines
3  * for a particular PuTTY build.
4  *
5  * When my automated build system does a full build, Buildscr
6  * completely overwrites this file with information derived from the
7  * circumstances and type of that build. The information _here_ is
8  * default stuff used for local development runs of 'make'.
9  */
10
11 #define TEXTVER "Unidentified build"
12 #define SSHVER "PuTTY-Unidentified-Local-Build"
13 #define BINARY_VERSION 0,0,0,0
14
15 #ifndef SOURCE_COMMIT
16 /*
17  * git commit id from which this build was made. This is defined by
18  * Buildscr for official builds - both source archives and prebuilt
19  * binaries - in the course of overwriting this file as described
20  * above. But we put it here under ifdef, so that it can also be
21  * passed in on the command line for Unix local development builds,
22  * which I treat specially because Unix developers - e.g. me - are
23  * quite likely to run 'make install' straight out of their dev
24  * directory so as to use the bleeding-edge code for day-to-day
25  * running.
26  *
27  * Windows doesn't really need the same treatment, because the easiest
28  * way to install a build properly on Windows is to run the installer,
29  * and the easiest way to do that is to run Buildscr, which will
30  * populate this field its own way. It's only the Unix automake build
31  * where you might go straight from local 'make' to 'make install'
32  * without going through Buildscr.
33  */
34 #define SOURCE_COMMIT "unavailable"
35 #endif