We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21434bc commit b013335Copy full SHA for b013335
Makefile
@@ -16,15 +16,13 @@ EXTS = $(shell find $(EXT) -type f) \
16
$(shell find $(EXT) -type l)
17
SHARE = share
18
19
-# XXX Make these vars look like git.git/Makefile style
20
-PREFIX ?= /usr/local
21
# XXX Using sed for now. Would like to use bash or make syntax.
22
# If GIT_EXEC_PATH is set, `git --exec-path` will contain that appended to the
23
# front. We just want the path where git is actually installed:
24
INSTALL_LIB ?= $(shell git --exec-path | sed 's/.*://')
25
INSTALL_CMD ?= $(INSTALL_LIB)/$(NAME)
26
INSTALL_EXT ?= $(INSTALL_LIB)/$(NAME).d
27
-INSTALL_MAN1 ?= $(PREFIX)/share/man/man1
+INSTALL_MAN1 ?= $(shell git --man-path | sed 's/.*://')/man1
28
29
##
30
# User targets:
0 commit comments