diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-18 09:56:10 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-18 09:56:10 +0200 |
| commit | 041b2dd29d30a8ecadca22ef25282cbad672d94e (patch) | |
| tree | 303cee3bb41813764b131c0a0f4430d4dbca105d /Makefile | |
| parent | 6de6ffa3e52a2bec519c2a052d0f26d01e38f167 (diff) | |
| download | bokf-041b2dd29d30a8ecadca22ef25282cbad672d94e.tar.gz bokf-041b2dd29d30a8ecadca22ef25282cbad672d94e.zip | |
Show tui and server versions in the status line; derive version from gitv0.1.12
- build: VERSION defaults to git describe, deploy passes the tag via --build-arg
- bokftui: srv version from meta, right-aligned next to the status line
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ CC ?= cc CFLAGS ?= -O2 -g -VERSION = 0.1.0-dev +VERSION ?= $(shell git describe --tags --always --dirty 2>/dev/null \ + || echo 0.1.0-dev) WARN = -Wall -Wextra -Wshadow -Wstrict-prototypes -Wmissing-prototypes \ -Wpointer-arith -Wvla -Wformat=2 |
