commit 8427014cc87a4f9d603f3a910997c4b1c0f74167
parent e1d900c90ab723c8a2cf6bc21b74fbd6b5cc573b
Author: mdnrz <mehdeenoroozi@gmail.com>
Date: Sat, 13 Dec 2025 21:27:50 +0330
change prefix and owner validation flag
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -4,7 +4,7 @@ NAME = stagit
VERSION = 1.2
# paths
-PREFIX = /usr/local
+PREFIX = $HOME/.local
MANPREFIX = ${PREFIX}/man
DOCPREFIX = ${PREFIX}/share/doc/${NAME}
@@ -18,7 +18,7 @@ STAGIT_CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE
# Uncomment to enable workaround for older libgit2 which don't support this
# option. This workaround will be removed in the future *pinky promise*.
-#STAGIT_CFLAGS += -DGIT_OPT_SET_OWNER_VALIDATION=-1
+STAGIT_CFLAGS += -DGIT_OPT_SET_OWNER_VALIDATION=-1
SRC = \
stagit.c\