diff options
author | Simon Tatham <anakin@pobox.com> | 2017-01-15 20:02:32 +0000 |
---|---|---|
committer | Simon Tatham <anakin@pobox.com> | 2017-01-15 20:03:22 +0000 |
commit | dad1bbc6f8fbb588a7a880096d6d3610a29c064f (patch) | |
tree | 03c7e13bf863c61e2a4ddeadd0a1738df8891a3f | |
parent | 0739189afa3b7b8ebe660c3455d4fccfaaa91260 (diff) |
Permit overriding VER on the make command line.
An alternative way for distribution maintainers to bake in a version
number, if they don't like overwriting version.h like my own tarball
build script does.
-rw-r--r-- | version.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,4 +8,6 @@ * development runs of 'make'. */ +#ifndef VER /* so that you can make CPPFLAGS+='-DVER="\"version\""' */ #define VER "unidentified build" +#endif |