ports/devel/git/files/patch-Documentation__Makefile
Wesley Shields bfcb4cb85d - Update to 1.6.0.3
- Add options to support:
  - P4 support (on) [1]
  - CVS support (on) [1]
  - HTML documentation (off) [2]

[1]: Requested privately by multiple people.

PR:		ports/127754 [2]
Submitted by:	Ashish Shukla <wahjava@gmail.com> [2]
2008-10-26 01:04:36 +00:00

32 lines
769 B
Text

--- ./Documentation/Makefile.orig 2008-10-22 00:19:18.000000000 -0400
+++ ./Documentation/Makefile 2008-10-24 10:06:25.561498942 -0400
@@ -12,8 +12,6 @@
MAN_XML=$(patsubst %.txt,%.xml,$(MAN_TXT))
MAN_HTML=$(patsubst %.txt,%.html,$(MAN_TXT))
-DOC_HTML=$(MAN_HTML)
-
ARTICLES = howto-index
ARTICLES += everyday
ARTICLES += git-tools
@@ -29,9 +27,9 @@
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
mandir?=$(prefix)/share/man
man1dir=$(mandir)/man1
man5dir=$(mandir)/man5
@@ -73,7 +71,7 @@
# yourself - yes, all 6 characters of it!
#
-all: html man
+all: html
html: $(DOC_HTML)