Skip to contentSkip to conversation

Add rule install-html to install html files to $(html_dir)

PATCH In review Nguyen Thai Ngoc Duy 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 Add rule install-html to install html files to $(html_dir)

---

Now you can make install; make -C Documentation install-html and enjoy git-help --html

 Documentation/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Documentation/Makefile +3 -0
index 9cef480..7a5e5d3 100644
@@ -71,6 +71,9 @@ install: man
 	$(INSTALL) -m644 $(DOC_MAN5) $(DESTDIR)$(man5dir)
 	$(INSTALL) -m644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
 
+install-html: html
+	$(INSTALL) -d -m755 $(DESTDIR)$(html_dir)
+	$(INSTALL) -m644 *.html $(DESTDIR)$(html_dir)
 
 ../GIT-VERSION-FILE: .FORCE-GIT-VERSION-FILE
 	$(MAKE) -C ../ GIT-VERSION-FILE
Signature · 1 line
1.5.0.7