summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/gen_ver.pl
Commit message (Collapse)AuthorAgeFilesLines
* Use env in hashbangs to placate necrocomputing OSes with packaged perl ↵Adam Borowski2009-12-021-1/+1
| | | | installed in /usr/local/bin/
* Properly build when out of git (using packaged source).Adam Borowski2009-11-251-8/+9
|
* makefile: allow build.h to be generated based on git-merge-baseSteven Noonan2009-10-251-2/+7
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* gen_ver.pl: add OS version to the list of definesSteven Noonan2009-10-181-0/+3
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* gen_ver.pl: use 'uname -s' instead of 'uname -o'Steven Noonan2009-10-181-1/+1
| | | | | | Some versions of 'uname' do not have an '-o' option. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* gen_ver.pl: don't bother with MD5 checkingSteven Noonan2009-10-181-31/+2
| | | | | | | | | | Comparing MD5 hashes used to be important for this script, because in the project I developed it for, it was a globally included header (by something akin to AppHdr.h). Preventing it from changing was pretty important. But it doesn't matter now, since we only make it a dependency of version.cc, and the makefile regenerates it on every build (which is handy). Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Add compilation information to Version namespaceMatthew Cline2009-10-181-0/+12
| | | | | | | | | | The Version namespace now provides the compiler which was used, the OS, machine type and processor type the compilation was done on, and the CFLAGS, CFLAGS_L and LDFLAGS which were used. If GCC was the compiler, it also provides the compiler version. This information is included in crash reports, and can be dumped using the new command line option "-version".
* gen_ver.pl: add build.h generator scriptSteven Noonan2009-10-181-0/+163
This works best with 'git describe', but if it can't use that (i.e. in an official release tree, outside of git), it will use release_ver in the util directory. Signed-off-by: Steven Noonan <steven@uplinklabs.net>