--- Documentation/Makefile.orig 2021-08-16 21:18:43 UTC +++ Documentation/Makefile @@ -120,11 +120,11 @@ DOC_MAN1 = $(patsubst %.txt,%.1,$(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 @@ -241,7 +241,7 @@ ifndef V endif endif -all: html man +all: html html: $(DOC_HTML)