git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Jun 5, 2007, 18:29 UTC
Message-ID
<20070605182925.GA8429@localhost>
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
Message 1 of 1 in “Add rule install-html to install html files to $(html_dir)”
  1. 2/2 Add rule install-html to install html files to $(html_dir)Nguyen Thai Ngoc Duy, Jun 5, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.