From 6ce8dc4e51b6879171b1c1ffc9972ae384d5b4b2 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Mon, 2 Nov 2026 22:56:34 -1000 Subject: Say that make install builds again --- README.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.txt b/README.txt index 036421b..1d7b833 100644 --- a/README.txt +++ b/README.txt @@ -43,9 +43,16 @@ Makefile before running make install. The Makefile lists the other variables cgit.conf can set, prefix among them. +make install runs the build again first, with the variables it is given, so it +needs the same ones as the build. To install the hardened binary that +tools/build-release.sh built rather than a default build, skip that rebuild with +make's -o option. + + $ sudo make -o all install + On a musl system such as Alpine, Git's code also needs the Linux kernel headers, packaged there as linux-headers, and its bundled regex in place of musl's, which -lacks REG_STARTEND. make test takes the same setting. +lacks REG_STARTEND. make install and make test take the same setting. $ make NO_REGEX=YesPlease -- cgit 2.12.1