git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] Add rule install-html to install html files to $(html_dir)
@ 2007-06-05 18:29 Nguyen Thai Ngoc Duy
  0 siblings, 0 replies; only message in thread
From: Nguyen Thai Ngoc Duy @ 2007-06-05 18:29 UTC (permalink / raw)
  To: git; +Cc: junkio


Signed-off-by: Nguyen Thai Ngoc Duy <pclouds@gmail.com>
---

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(-)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index 9cef480..7a5e5d3 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -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
-- 
1.5.0.7

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-05 18:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-05 18:29 [PATCH 2/2] Add rule install-html to install html files to $(html_dir) Nguyen Thai Ngoc Duy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).