diff options
| author | Jens Schweikhardt <schweikh@schweikhardt.net> | 2025-08-31 16:04:57 +0200 |
|---|---|---|
| committer | Jens Schweikhardt <schweikh@schweikhardt.net> | 2025-08-31 16:04:57 +0200 |
| commit | 275e732d08441e5180ae8ef17da0f684106e60d6 (patch) | |
| tree | 1e07da3553fcee7295f8645a76ec1103e321b476 /GNUmakefile | |
| parent | 1ba7b3a044045ea2aa91dd46acc3a1b4531a8bc1 (diff) | |
More history. HASH is not a good idea, changes too often.
Diffstat (limited to 'GNUmakefile')
| -rw-r--r-- | GNUmakefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile index e0d4e4f..282dc81 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -120,8 +120,7 @@ images: gallant.hex lscp txttopng README.html: README.md comrak --gfm --syntax-highlighting base16-ocean.light $^ > $@ -HASH := $(shell git rev-parse --short=8 HEAD) -VERSION = 1.0 +VERSION = 2025-08-31 # Deterministic time stamp. On FreeBSD: date -j 202508310000.01 '+%s' TIMESTAMP = 1756591201 @@ -154,7 +153,6 @@ APP_WARNS += -Wmissing-field-initializers APP_SOURCE_INCDIRS = -I /usr/local/include APP_LIBDIRS = -L /usr/local/lib -APP_MACROS = -DHASH='"$(HASH)"' APP_MACROS += -DVERSION='"$(VERSION)"' tools: $(TOOLS) @@ -266,7 +264,6 @@ tooltips.vim: $(TOOLS_C) sed -e 's,\\,\\\\,g; s,",\\",g' | \ while read -r define macro repl; do \ case $$macro in \ - (HASH) printf '\\ \47HASH\47:\"HASH\\n0x12345678u\",\n';; \ (*) printf '\\ \47%s\47:\"%s\\n%s\",\n' "$${macro%%(*}" "$$macro" "$$repl"; \ esac; \ done; \ |
