diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-10-19 20:09:52 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-10-19 20:09:52 +0000 |
| commit | 286db002f8c85fee0d65d05c845fb1878fcd11a6 (patch) | |
| tree | 8c6fe938832eaeddb9dbe778a45886c892f88be6 /main.c | |
| parent | font: glyph_for_wchar(): ensure glyph->valid == false, in *all* error cases (diff) | |
meson: fix version generation from git
run_command() was only run at configure time, meaning the generated
version (that was passed on to the sources via -DFUZZEL_VERSION)
became stale.
Fix by implementing a shell script that generates a header file, and
wrap this in a custom target that is run every time (but the generated
file is only updated when the version changes)
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -39,6 +39,7 @@ #include "slave.h" #include "terminal.h" #include "tokenize.h" +#include "version.h" #include "vt.h" #define min(x, y) ((x) < (y) ? (x) : (y)) |
