[otb] 03/03: Add also primitive manpage generation for otbgui_ binaries

Andreas Tille tille at debian.org
Mon Jul 14 19:18:01 UTC 2014


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

tille pushed a commit to branch master
in repository otb.

commit 1be06c960e2246509d85abf40518ec80d602da3a
Author: Andreas Tille <tille at debian.org>
Date:   Mon Jul 14 17:36:29 2014 +0200

    Add also primitive manpage generation for otbgui_ binaries
---
 debian/otbgui.1 | 13 +++++++++++++
 debian/rules    |  7 +++++++
 2 files changed, 20 insertions(+)

diff --git a/debian/otbgui.1 b/debian/otbgui.1
new file mode 100644
index 0000000..0a5711d
--- /dev/null
+++ b/debian/otbgui.1
@@ -0,0 +1,13 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.45.1.
+.TH OTBCLI "1" "July 2014" "otbcli 4.0.0" "User Commands"
+.SH NAME
+otbgui \- ORFEO Toolbox graphical user interface applications
+.SH DESCRIPTION
+ORFEO Toolbox (OTB) is distributed as an open source library of image
+processing algorithms. OTB is based on the medical image processing library
+ITK and offers particular functionalities for remote sensing image processing
+in general and for high spatial resolution images in particular.
+.SH USAGE
+\fI/usr/bin/otbApplicationLauncherQt\fP module_name [MODULEPATH] [arguments]
+.P
+Here is a list of available module wrappers:
diff --git a/debian/rules b/debian/rules
index b234f71..188f2e1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -71,3 +71,10 @@ override_dh_installman:
 	    basename $${bin} | sed 's/otbcli_//' >> $(mancli)/otbcli.1 ; \
 	    ln -sf otbcli.1 $(mancli)/`basename $${bin}`.1 ; \
 	done
+	mkdir -p $(mangui)
+	cp -a debian/otbgui.1 $(mangui)
+	for bin in `ls $(CURDIR)/debian/$(pkggui)/usr/bin/otbgui_*` ; do \
+	    echo '.IP' >> $(mangui)/otbgui.1 ; \
+	    basename $${bin} | sed 's/otbgui_//' >> $(mangui)/otbgui.1 ; \
+	    ln -sf otbgui.1 $(mangui)/`basename $${bin}`.1 ; \
+	done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/otb.git



More information about the Pkg-grass-devel mailing list