[Pkg-octave-commit] [octave] 02/02: Add manpages for octave-cli and octave-gui

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Wed Jan 1 19:39:54 UTC 2014


This is an automated email from the git hooks/post-receive script.

rlaboiss-guest pushed a commit to branch master
in repository octave.

commit b3d5849ee823116872afeb6915b949af86e39d92
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Wed Jan 1 20:31:27 2014 +0100

    Add manpages for octave-cli and octave-gui
    
    Acutally, no new manpages are created.  Instead, the manpage for
    octave is changed through the patch gui-and-cli-manpages.diff to
    mention the command variants, and new symlinks octave-cli.1 and
    octave-gui.1 are created.
---
 debian/octave.links                      |  2 ++
 debian/patches/gui-and-cli-manpages.diff | 25 +++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 3 files changed, 28 insertions(+)

diff --git a/debian/octave.links b/debian/octave.links
new file mode 100644
index 0000000..6ef5533
--- /dev/null
+++ b/debian/octave.links
@@ -0,0 +1,2 @@
+usr/share/man/man1/octave.1.gz usr/share/man/man1/octave-gui.1.gz
+usr/share/man/man1/octave.1.gz usr/share/man/man1/octave-cli.1.gz
diff --git a/debian/patches/gui-and-cli-manpages.diff b/debian/patches/gui-and-cli-manpages.diff
new file mode 100644
index 0000000..4df4daf
--- /dev/null
+++ b/debian/patches/gui-and-cli-manpages.diff
@@ -0,0 +1,25 @@
+Description: Mention the -gui and -cli commands in the manpage for octave
+Author: Rafael Laboissiere <rafael at laboissiere.net>
+Last-Update: 2014-01-01
+
+--- octave-3.8.0~rc2.orig/doc/interpreter/octave.1
++++ octave-3.8.0~rc2/doc/interpreter/octave.1
+@@ -30,10 +30,16 @@
+ octave \- A high-level interactive language for numerical computations.
+ .SH SYNOPSIS
+ \fBoctave\fP [\fIoptions\fP]... [\fIfile\fP]
++.br
++\fBoctave-cli\fP [\fIoptions\fP]... [\fIfile\fP]
++.br
++\fBoctave-gui\fP [\fIoptions\fP]... [\fIfile\fP]
+ .SH DESCRIPTION
+ Octave is a high-level language, primarily intended for numerical
+-computations.  It provides a convenient command line interface for
+-solving linear and nonlinear problems numerically.
++computations.  It provides convenient command line (\fBoctave-cli\fP)
++and graphical user (\fBoctave-gui\fP) interfaces for solving linear and
++nonlinear problems numerically.  The \fBoctave\fP command is a synonym for
++\fBoctave-gui\fP.
+ .SH OPTIONS
+ The complete set of command-line options for \fBoctave\fP is available by
+ running the following command from the shell.
diff --git a/debian/patches/series b/debian/patches/series
index 9cd3ee4..ebdfd9d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ install_libraries_publically
 no_pdf_in_print.diff
 add_info_dir_categories
 mkoctfile-mpi.diff
+gui-and-cli-manpages.diff

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave.git



More information about the Pkg-octave-commit mailing list