[glpk] 08/09: Write a short manpage for glpsol, instead of generating it with help2man.
Sébastien Villemot
sebastien at debian.org
Wed Dec 6 13:55:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastien pushed a commit to branch master
in repository glpk.
commit 5d666c39032c1dc51b5365a490389ad3b2f3833d
Author: Sébastien Villemot <sebastien at debian.org>
Date: Wed Dec 6 14:48:58 2017 +0100
Write a short manpage for glpsol, instead of generating it with help2man.
Closes: #875736
---
debian/control | 3 +--
debian/glpk-utils.manpages | 2 +-
debian/glpsol.1 | 28 ++++++++++++++++++++++++++++
debian/rules | 4 ----
4 files changed, 30 insertions(+), 7 deletions(-)
diff --git a/debian/control b/debian/control
index 8d4c595..9781c5d 100644
--- a/debian/control
+++ b/debian/control
@@ -9,8 +9,7 @@ Build-Depends: debhelper (>= 10),
zlib1g-dev,
libiodbc2-dev,
default-libmysqlclient-dev,
- libsuitesparse-dev,
- help2man
+ libsuitesparse-dev
Standards-Version: 4.1.2
Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/glpk.git
Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/glpk.git
diff --git a/debian/glpk-utils.manpages b/debian/glpk-utils.manpages
index 7bf8ab0..26850ff 100644
--- a/debian/glpk-utils.manpages
+++ b/debian/glpk-utils.manpages
@@ -1 +1 @@
-debian/tmp/glpsol.1
+debian/glpsol.1
diff --git a/debian/glpsol.1 b/debian/glpsol.1
new file mode 100644
index 0000000..6ea7eaf
--- /dev/null
+++ b/debian/glpsol.1
@@ -0,0 +1,28 @@
+.TH GLPSOL 1
+.SH NAME
+glpsol \- large-scale linear and mixed integer programming solver
+.SH SYNOPSIS
+.B glpsol
+[\fIoptions...\fR] \fIfilename\fR
+.SH DESCRIPTION
+Solves linear programming (LP) and mixed integer programming (MLP) problems,
+using the GNU Linear Programming Kit (GLPK) library.
+.PP
+Problems are described in \fIfilename\fR, using one of the following formats:
+fixed MPS, free MPS, CPLEX LP or GNU MathProg.
+.SH OPTIONS
+See
+.I glpsol --help
+.SH EXAMPLES
+See \fI/usr/share/doc/glpk-utils/examples/\fR for example problems written in
+various formats.
+.SH SEE ALSO
+For a description of the MPS and CPLEX LP formats see the GLPK Reference Manual
+in the \fIglpk-doc\fR package. The GNU MathProg modeling language is
+described in a separate document in the same package.
+.PP
+Additional tips and hints are given on:
+.br
+\fIhttps://en.wikibooks.org/wiki/GLPK/Using_GLPSOL\fR
+.SH AUTHOR
+This manual page was written by Sébastien Villemot for Debian.
diff --git a/debian/rules b/debian/rules
index 3d1813d..657a605 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,10 +6,6 @@
override_dh_auto_configure:
dh_auto_configure -- --enable-dl --enable-odbc --enable-mysql --with-gmp
-override_dh_auto_install:
- dh_auto_install
- help2man -N -n "large-scale linear and mixed integer programming solver" -o debian/tmp/glpsol.1 examples/glpsol
-
override_dh_makeshlibs:
dh_makeshlibs -V
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/glpk.git
More information about the debian-science-commits
mailing list