]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/Makefile
Merge branch 'master' into cc/help
[thirdparty/git.git] / Documentation / Makefile
index 1b5802456dea9dec329cba19eddb6ef6ea45a090..9f0f9d70f6decd721141b48f9be2f0a8da429bcb 100644 (file)
@@ -29,6 +29,7 @@ DOC_MAN7=$(patsubst %.txt,%.7,$(MAN7_TXT))
 
 prefix?=$(HOME)
 bindir?=$(prefix)/bin
+htmldir?=$(prefix)/share/doc/git-doc
 mandir?=$(prefix)/share/man
 man1dir=$(mandir)/man1
 man5dir=$(mandir)/man5
@@ -98,6 +99,9 @@ install-info: info
          echo "No directory found in $(DESTDIR)$(infodir)" >&2 ; \
        fi
 
+install-html: html
+       sh ./install-webdoc.sh $(DESTDIR)$(htmldir)
+
 ../GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE
        $(MAKE) -C ../ GIT-VERSION-FILE