ports/devel/git/files/patch-Documentation__Makefile
Renato Botelho bd93b4a2fe Update devel/git to 2.18.0
Sponsored by:	Rubicon Communications, LLC (Netgate)
2018-06-22 12:14:20 +00:00

26 lines
667 B
Text

--- Documentation/Makefile.orig 2018-06-21 17:18:50 UTC
+++ Documentation/Makefile
@@ -93,11 +93,11 @@ DOC_MAN1 = $(patsubst %.txt,%.1,$(MAN1_TXT))
DOC_MAN5 = $(patsubst %.txt,%.5,$(MAN5_TXT))
DOC_MAN7 = $(patsubst %.txt,%.7,$(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
@@ -232,7 +232,7 @@ ifndef V
endif
endif
-all: html man
+all: html
html: $(DOC_HTML)