Commits

Yuya Nishihara committed 36a0287

fold manpage, etc.

Comments (0)

Files changed (3)

debian-manpage.diff

-# HG changeset patch
-# Parent 67c5cb166307acdd1d73cea77d794ee1d2a597c1
-
-diff --git a/debian/manpages b/debian/manpages
-new file mode 100644
---- /dev/null
-+++ b/debian/manpages
-@@ -0,0 +1,1 @@
-+debian/vcprompt.1
-diff --git a/debian/manpage.1.ex b/debian/vcprompt.1
-rename from debian/manpage.1.ex
-rename to debian/vcprompt.1
---- a/debian/manpage.1.ex
-+++ b/debian/vcprompt.1
-@@ -2,7 +2,7 @@
- .\" First parameter, NAME, should be all caps
- .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
- .\" other parameters are allowed: see man(7), man(1)
--.TH VCPROMPT SECTION "January 17, 2010"
-+.TH VCPROMPT 1 "September 23, 2010"
- .\" Please adjust this date whenever revising the manpage.
- .\"
- .\" Some roff macros, for reference:
-@@ -16,44 +16,58 @@
- .\" .sp <n>    insert n+1 empty lines
- .\" for manpage-specific macros, see man(7)
- .SH NAME
--vcprompt \- program to do something
-+vcprompt \- prints a short string about VCS for shell prompt
- .SH SYNOPSIS
- .B vcprompt
--.RI [ options ] " files" ...
--.br
--.B bar
--.RI [ options ] " files" ...
-+[-h] [-d] [-f FORMAT]
- .SH DESCRIPTION
- This manual page documents briefly the
- .B vcprompt
--and
--.B bar
- commands.
- .PP
- .\" TeX users may be more comfortable with the \fB<whatever>\fP and
- .\" \fI<whatever>\fP escape sequences to invode bold face and italics,
- .\" respectively.
--\fBvcprompt\fP is a program that...
-+\fBvcprompt\fP is a little C program that prints a short string, designed to
-+be included in your prompt, with barebones information about the current
-+working directory for various version control systems.  It is designed
-+to be small and lightweight rather than comprehensive.
- .SH OPTIONS
--These programs follow the usual GNU command line syntax, with long
--options starting with two dashes (`-').
--A summary of options is included below.
--For a complete description, see the Info files.
- .TP
--.B \-h, \-\-help
--Show summary of options.
-+.B \-h
-+show summary of options and formats
- .TP
--.B \-v, \-\-version
--Show version of program.
--.SH SEE ALSO
--.BR bar (1),
--.BR baz (1).
-+.B \-d
-+enable debugging output
-+.TP
-+.B \-f
-+specify output format
-+.SH FORMATS
-+.B %b
-+show branch
- .br
--The programs are documented fully by
--.IR "The Rise and Fall of a Fooish Bar" ,
--available via the Info system.
-+.B %r
-+show revision
-+.br
-+.B %u
-+show unknown
-+.br
-+.B %m
-+show modified
-+.br
-+.B %n
-+show VC name
-+.br
-+.B %%
-+show '%'
-+.SH ENVIRONMENT VARIABLES
-+.TP
-+.B VCPROMPT_FORMAT
-+It specifies output format, overriden by
-+.B \-f
-+option.
- .SH AUTHOR
--vcprompt was written by <upstream author>.
-+Gregory P. Ward and contributors.
- .PP
- This manual page was written by Yuya Nishihara <yuya@tcha.org>,
- for the Debian project (and may be used by others).
 @@ -0,0 +1,5 @@
 +vcprompt (0.0.0.20110322hg95cd6b390fdb-1) unstable; urgency=low
 +
-+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
++  * Initial release (Closes: #622087)
 +
 + -- Yuya Nishihara <yuya@tcha.org>  Sun, 10 Apr 2011 14:50:12 +0900
 diff --git a/debian/compat b/debian/compat
 new file mode 100644
 --- /dev/null
 +++ b/debian/docs
-@@ -0,0 +1,2 @@
+@@ -0,0 +1,1 @@
 +README.txt
-+README.txt
-diff --git a/debian/manpage.1.ex b/debian/manpage.1.ex
+diff --git a/debian/manpages b/debian/manpages
 new file mode 100644
 --- /dev/null
-+++ b/debian/manpage.1.ex
-@@ -0,0 +1,59 @@
++++ b/debian/manpages
+@@ -0,0 +1,1 @@
++debian/vcprompt.1
+diff --git a/debian/rules b/debian/rules
+new file mode 100755
+--- /dev/null
++++ b/debian/rules
+@@ -0,0 +1,7 @@
++#!/usr/bin/make -f
++
++include /usr/share/cdbs/1/rules/debhelper.mk
++include /usr/share/cdbs/1/class/makefile.mk
++
++DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/vcprompt PREFIX=/usr
++DEB_MAKE_CHECK_TARGET := check
+diff --git a/debian/source/format b/debian/source/format
+new file mode 100644
+--- /dev/null
++++ b/debian/source/format
+@@ -0,0 +1,1 @@
++3.0 (quilt)
+diff --git a/debian/vcprompt.1 b/debian/vcprompt.1
+new file mode 100644
+--- /dev/null
++++ b/debian/vcprompt.1
+@@ -0,0 +1,73 @@
 +.\"                                      Hey, EMACS: -*- nroff -*-
 +.\" First parameter, NAME, should be all caps
 +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 +.\" other parameters are allowed: see man(7), man(1)
-+.TH VCPROMPT SECTION "January 17, 2010"
++.TH VCPROMPT 1 "September 23, 2010"
 +.\" Please adjust this date whenever revising the manpage.
 +.\"
 +.\" Some roff macros, for reference:
 +.\" .sp <n>    insert n+1 empty lines
 +.\" for manpage-specific macros, see man(7)
 +.SH NAME
-+vcprompt \- program to do something
++vcprompt \- prints a short string about VCS for shell prompt
 +.SH SYNOPSIS
 +.B vcprompt
-+.RI [ options ] " files" ...
-+.br
-+.B bar
-+.RI [ options ] " files" ...
++[-h] [-d] [-f FORMAT]
 +.SH DESCRIPTION
 +This manual page documents briefly the
 +.B vcprompt
-+and
-+.B bar
 +commands.
 +.PP
 +.\" TeX users may be more comfortable with the \fB<whatever>\fP and
 +.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
 +.\" respectively.
-+\fBvcprompt\fP is a program that...
++\fBvcprompt\fP is a little C program that prints a short string, designed to
++be included in your prompt, with barebones information about the current
++working directory for various version control systems.  It is designed
++to be small and lightweight rather than comprehensive.
 +.SH OPTIONS
-+These programs follow the usual GNU command line syntax, with long
-+options starting with two dashes (`-').
-+A summary of options is included below.
-+For a complete description, see the Info files.
 +.TP
-+.B \-h, \-\-help
-+Show summary of options.
++.B \-h
++show summary of options and formats
 +.TP
-+.B \-v, \-\-version
-+Show version of program.
-+.SH SEE ALSO
-+.BR bar (1),
-+.BR baz (1).
++.B \-d
++enable debugging output
++.TP
++.B \-f
++specify output format
++.SH FORMATS
++.B %b
++show branch
 +.br
-+The programs are documented fully by
-+.IR "The Rise and Fall of a Fooish Bar" ,
-+available via the Info system.
++.B %r
++show revision
++.br
++.B %u
++show unknown
++.br
++.B %m
++show modified
++.br
++.B %n
++show VC name
++.br
++.B %%
++show '%'
++.SH ENVIRONMENT VARIABLES
++.TP
++.B VCPROMPT_FORMAT
++It specifies output format, overriden by
++.B \-f
++option.
 +.SH AUTHOR
-+vcprompt was written by <upstream author>.
++Gregory P. Ward and contributors.
 +.PP
 +This manual page was written by Yuya Nishihara <yuya@tcha.org>,
 +for the Debian project (and may be used by others).
-diff --git a/debian/rules b/debian/rules
-new file mode 100755
---- /dev/null
-+++ b/debian/rules
-@@ -0,0 +1,7 @@
-+#!/usr/bin/make -f
-+
-+include /usr/share/cdbs/1/rules/debhelper.mk
-+include /usr/share/cdbs/1/class/makefile.mk
-+
-+DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/vcprompt PREFIX=/usr
-+DEB_MAKE_CHECK_TARGET := check
 debian.diff
-debian-manpage.diff
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.