--- Documentation/Makefile.orig 2024-04-29 16:19:22 UTC +++ Documentation/Makefile @@ -134,11 +134,11 @@ DOC_MAN7 = $(patsubst %.txt,%.7,$(filter $(MAN_FILTER) DOC_MAN5 = $(patsubst %.txt,%.5,$(filter $(MAN_FILTER),$(MAN5_TXT))) DOC_MAN7 = $(patsubst %.txt,%.7,$(filter $(MAN_FILTER),$(MAN7_TXT))) -prefix ?= $(HOME) +prefix ?= $(PREFIX) bindir ?= $(prefix)/bin -htmldir ?= $(prefix)/share/doc/git-doc +htmldir ?= $(prefix)/share/doc/git infodir ?= $(prefix)/share/info -pdfdir ?= $(prefix)/share/doc/git-doc +pdfdir ?= $(prefix)/share/doc/git mandir ?= $(prefix)/share/man man1dir = $(mandir)/man1 man5dir = $(mandir)/man5 @@ -222,7 +222,7 @@ endif ASCIIDOC_EXTRA += -a 'git-default-editor=$(DEFAULT_EDITOR_SQ)' endif -all: html man +all: html html: $(DOC_HTML)