Implement a new caching system to make repeated runs much much faster.

This commit is contained in:
Squibid 2025-11-14 04:02:16 -05:00
parent 4a008a82b0
commit 5e0e140b09
Signed by: squibid
GPG key ID: BECE5684D3C4005D
8 changed files with 252 additions and 44 deletions

View file

@ -7,9 +7,11 @@ PREFIX = /usr/local
MANDIR = $(PREFIX)/share/man
GIT =
GITHASH =
GITLIB =
# comment to disable git support
GIT = -DGIT
GITHASH = -DGITHASH
GITLIB = libgit2
ERR =
@ -24,6 +26,11 @@ EXPLAIN = -DEXPLAIN
ifneq ($(GIT),)
VERSION := $(VERSION)"\\nlibgit2 "`$(PKG_CONFIG) --modversion $(GITLIB)`
endif
ifeq ($(GITHASH),)
VERSION := $(VERSION)"\\ngit hashing disabled"
else
VERSION := $(VERSION)"\\ngit hashing enabled"
endif
ifeq ($(ERR),)
VERSION := $(VERSION)"\\nerrors disabled"
else