stagit

static page generator for git
git clone https://github.com/michaelneuper/stagit.git
README | Files | Log | Refs | LICENSE

commit a9bca7fbac5cff6534bd9721402c6a39730d1992
parent 519cae2fcab6f2427dc8f2805d6a5d1eee4bdb05
Author: Michael Neuper <michael@michaelneuper.com>
Date:   Sun, 25 Oct 2026 21:14:33 +0200

Makefile: also look for libraries in /opt/homebrew

Diffstat:
A.gitignore | 6++++++
MMakefile | 5+++--
2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1,6 @@ +*.o +/stagit +/stagit-index +/work/ +/public/ +/.netlify/ diff --git a/Makefile b/Makefile @@ -8,8 +8,9 @@ PREFIX = /usr/local MANPREFIX = ${PREFIX}/man DOCPREFIX = ${PREFIX}/share/doc/${NAME} -LIBGIT_INC = -I/usr/local/include -LIBGIT_LIB = -L/usr/local/lib -lgit2 +# /opt/homebrew is Homebrew on Apple silicon. +LIBGIT_INC = -I/usr/local/include -I/opt/homebrew/include +LIBGIT_LIB = -L/usr/local/lib -L/opt/homebrew/lib -lgit2 # use system flags. STAGIT_CFLAGS = ${LIBGIT_INC} ${CFLAGS}