git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Evan Carroll" <me@evancarroll.com>
To: git@vger.kernel.org
Subject: Application to install man pages.
Date: Thu, 18 Oct 2007 13:59:37 -0500	[thread overview]
Message-ID: <428b865e0710181159i7a12f2b7y22619f0eaf36d2c1@mail.gmail.com> (raw)

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

             reply	other threads:[~2007-10-18 18:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-18 18:59 Evan Carroll [this message]
2007-10-19  1:16 ` Application to install man pages Shawn O. Pearce

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=428b865e0710181159i7a12f2b7y22619f0eaf36d2c1@mail.gmail.com \
    --to=me@evancarroll.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).