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

Application to install man pages.

From
Evan Carroll <me@evancarroll.com>
Date
Oct 18, 2007, 18:59 UTC
Message-ID
<428b865e0710181159i7a12f2b7y22619f0eaf36d2c1@mail.gmail.com>

This is a one liner but might help for simply a quick install of the git manpages.

>From f5797d786fd4a6f9633054bb0f0ce894a06d6650 Mon Sep 17 00:00:00 2001
From: root <root@x60s.(none)>
Date: Thu, 18 Oct 2007 13:45:16 -0500
Subject: [PATCH] install_man.sh script which installs the man pages
---
 install_man.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
 create mode 100755 install_man.sh
diff --git a/install_man.sh b/install_man.sh
new file mode 100755
index 0000000..b722425
--- /dev/null
+++ b/install_man.sh
@@ -0,0 +1,2 @@
+#/bin/sh
+ cp -R --copy-contents ./man* /usr/local/man
-- 
1.5.3.4.206.g58ba4


I was also wondering if it might be useful to have a command in the
master branch of the git repo that switches branches and installs the
man pages.. possibly as run in the makefile if .git exists then switch
branches, and run install_man.sh. Just an idea.

-- 
Evan Carroll
System Lord of the Internets
me@evancarroll.com
832-445-8877
Next: Shawn O. Pearce
Message 1 of 2 in “Application to install man pages.”
  1. Evan CarrollOct 18, 2007
  2. Shawn O. PearceOct 19, 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.