freebsd-ports/devel/git/files/patch-Documentation__Makefile
2010-08-20 03:01:29 +00:00

25 lines
608 B
Text

--- ./Documentation/Makefile.orig 2010-07-28 13:03:43.000000000 -0400
+++ ./Documentation/Makefile 2010-08-16 21:56:14.233982716 -0400
@@ -30,10 +30,10 @@
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
-pdfdir?=$(prefix)/share/doc/git-doc
+htmldir?=$(prefix)/share/doc/git
+pdfdir?=$(prefix)/share/doc/git
mandir?=$(prefix)/share/man
man1dir=$(mandir)/man1
man5dir=$(mandir)/man5
@@ -162,7 +162,7 @@
endif
endif
-all: html man
+all: html
html: $(DOC_HTML)