ports/devel/git/files/patch-Documentation__Makefile
Wesley Shields 9d0b79a142 - Update to 1.7.0.2
- [1]: Add a dependency on textproc/docbook-xsl. The port used to fetch files
  during build if HTMLDOCS was selected. This eliminates the need to do that.

PR:		ports/143483
Submitted by:	Anatoly Borodin <anatoly.borodin@gmail.com>
2010-03-14 17:00:01 +00:00

24 lines
602 B
Text

--- Documentation/Makefile.orig 2010-03-07 17:13:40.000000000 -0500
+++ Documentation/Makefile 2010-03-14 12:02:57.551179596 -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)