[sfcgal] 03/04: * Add manpages written by me for the debian package * put generated files inside the debian directory into .gitignore

Sven Geggus giggls-guest at moszumanska.debian.org
Fri Jun 12 09:14:11 UTC 2015


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

giggls-guest pushed a commit to branch master
in repository sfcgal.

commit ffaccb6b796941a2dfaffcdcf05197e82b45a2f7
Author: Sven Geggus <sven-deb at geggus.net>
Date:   Thu Jun 11 11:31:26 2015 +0200

    * Add manpages written by me for the debian package
    * put generated files inside the debian directory into .gitignore
---
 .gitignore                   | 10 ++++++++++
 debian/libsfcgal-dev.dirs    |  2 ++
 debian/libsfcgal-dev.install |  1 +
 debian/rules                 |  8 ++++++++
 debian/sfcgal-bin.dirs       |  1 +
 debian/sfcgal-bin.install    |  1 +
 debian/sfcgal-config.1       | 32 ++++++++++++++++++++++++++++++++
 debian/viewer-SFCGAL.1       | 18 ++++++++++++++++++
 8 files changed, 73 insertions(+)

diff --git a/.gitignore b/.gitignore
index 88fe904..b5b042e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,13 @@ gmon.out
 include/SFCGAL/version.h
 include/SFCGAL/config.h
 
+# ignore generated stuff in debian directory
+debian/*debhelper*
+debian/*.substvars
+obj-x86_64-linux-gnu
+
+debian/files
+debian/libsfcgal-dev
+debian/libsfcgal1/
+debian/sfcgal-bin/
+debian/tmp/
diff --git a/debian/libsfcgal-dev.dirs b/debian/libsfcgal-dev.dirs
index 4418816..3e5e870 100644
--- a/debian/libsfcgal-dev.dirs
+++ b/debian/libsfcgal-dev.dirs
@@ -1,2 +1,4 @@
+usr/bin
 usr/lib
 usr/include
+usr/share/man/man1
diff --git a/debian/libsfcgal-dev.install b/debian/libsfcgal-dev.install
index 4f3c444..7dac8b7 100644
--- a/debian/libsfcgal-dev.install
+++ b/debian/libsfcgal-dev.install
@@ -1,3 +1,4 @@
 usr/include/*
 usr/lib/*/lib*.so
 usr/bin/sfcgal-config
+/usr/share/man/man1/sfcgal-config.1
diff --git a/debian/rules b/debian/rules
index b01f408..daf6d6e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,5 +26,13 @@ include /usr/share/dpkg/default.mk
 override_dh_auto_configure:
 	dh_auto_configure -- -DSFCGAL_BUILD_VIEWER=ON -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH)
 
+# in addition to the upstream stuff we also want to
+# install the two manpages written for the debian package
+override_dh_install:
+	mkdir -p debian/tmp/usr/share/man/man1
+	install -m 644 debian/*.1 debian/tmp/usr/share/man/man1
+	dh_install
+	
+
 override_dh_auto_test:
 	true
diff --git a/debian/sfcgal-bin.dirs b/debian/sfcgal-bin.dirs
index e772481..f57433a 100644
--- a/debian/sfcgal-bin.dirs
+++ b/debian/sfcgal-bin.dirs
@@ -1 +1,2 @@
 usr/bin
+usr/share/man/man1
\ No newline at end of file
diff --git a/debian/sfcgal-bin.install b/debian/sfcgal-bin.install
index 0c1e4a6..b4a8ed9 100644
--- a/debian/sfcgal-bin.install
+++ b/debian/sfcgal-bin.install
@@ -1 +1,2 @@
 usr/bin/viewer-SFCGAL
+usr/share/man/man1/viewer-SFCGAL.1
diff --git a/debian/sfcgal-config.1 b/debian/sfcgal-config.1
new file mode 100644
index 0000000..616efc5
--- /dev/null
+++ b/debian/sfcgal-config.1
@@ -0,0 +1,32 @@
+.TH "sfcgal-config" "1" "June 10, 2015" "sfcgal-config" "User Commands"
+.SH "NAME"
+sfcgal\-config \- returns information about the installed SFCGAL library
+.SH "SYNOPSIS"
+.PP 
+.B sfcgal\-config
+[OPTIONS]
+.SH "DESCRIPTION"
+.PP 
+The \fIsfcgal\-config\fP shell script displays configuration information for the installed SFCGAL library. 
+
+.SH "OPTIONS"
+.TP 
+\fB\-\-prefix\fR
+print the prefix used by sfcgal
+.TP 
+\fB\-\-version\fR
+print the SFCGAL version
+.TP 
+\fB\-\-libs\fR
+Shows the complete set of libs and other linker options you will need in order
+to link your application with libsfcgal.
+.TP 
+\fB\-\-cflags\fR
+Set of compiler options (CFLAGS) to use when compiling files that use libsfcgal.
+Currently that is only the include path to the sfcgal include files.
+.TP 
+\fB\-\-ldflags\fR
+Displays the linker options to use when linking a SFCGAL application.
+.TP 
+\fB\-\-static\fR
+Displays the location of the static library (if available)
diff --git a/debian/viewer-SFCGAL.1 b/debian/viewer-SFCGAL.1
new file mode 100644
index 0000000..41144d8
--- /dev/null
+++ b/debian/viewer-SFCGAL.1
@@ -0,0 +1,18 @@
+.TH "viewer-SFCGAL" "1" "June 10, 2015" "viewer-SFCGAL" "User Commands"
+.SH "NAME"
+.B viewer\-SFCGAL
+A basic 3D viewer based on OpenSceneGraph
+
+.SH "DESCRIPTION"
+.PP 
+SFCGAL provides a basic 3D viewer based on OpenSceneGraph called
+viewer\-SFCGAL.
+
+This manpage is a stub written for the Debian GNU/Linux
+package.
+
+A screencast available on the SFCGAL homepage:
+
+http://oslandia.github.io/SFCGAL/screencast.html
+
+shows how it can be used to make it interact with a PostGIS database.

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



More information about the Pkg-grass-devel mailing list