[osmcoastline] 09/12: Also build documentation.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Mar 13 15:51:44 UTC 2015


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

sebastic pushed a commit to branch master
in repository osmcoastline.

commit feb16d29326116b5edd4decc6f08f719edc67bfd
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Wed Mar 11 23:38:16 2015 +0100

    Also build documentation.
---
 debian/control                   | 24 ++++++++++++++++++++++++
 debian/osmcoastline-doc.doc-base |  8 ++++++++
 debian/osmcoastline-doc.docs     |  1 +
 debian/osmcoastline-doc.links    |  1 +
 debian/osmcoastline.install      |  1 +
 debian/rules                     | 15 +++++++++++++++
 6 files changed, 50 insertions(+)

diff --git a/debian/control b/debian/control
index f51c264..a54c991 100644
--- a/debian/control
+++ b/debian/control
@@ -39,4 +39,28 @@ Description: Extract coastline data from OpenStreetMap planet file
  data filtering and conversion functions. Osmium can create WKT, WKB, OGR, GEOS
  and GeoJSON geometries for easy conversion into many GIS formats and it can
  assemble multipolygons from ways and relations.
+ .
+ This package contains the OSMCoastline utilities.
+
+Package: osmcoastline-doc
+Architecture: all
+Section: doc
+Depends: libjs-jquery,
+         ${misc:Depends}
+Description: Extract coastline data from OpenStreetMap planet file - documentation
+ OSMCoastline extracts the coastline from an OSM planet file and assembles all
+ the pieces into polygons for use in map renderers etc.
+ .
+ OSMCoastline relies on the Osmium library for its OpenStreetMap data handling.
+ .
+ The Osmium library has extensive support for all types of OSM entities: nodes,
+ ways, relations, and changesets. It allows reading from and writing to OSM
+ files in XML and PBF formats, including change files and full history files.
+ Osmium can store OSM data in memory and on disk in various formats and using
+ various indexes. Its easy to use handler interface allows you to quickly write
+ data filtering and conversion functions. Osmium can create WKT, WKB, OGR, GEOS
+ and GeoJSON geometries for easy conversion into many GIS formats and it can
+ assemble multipolygons from ways and relations.
+ .
+ This package contains the OSMCoastline documentation.
 
diff --git a/debian/osmcoastline-doc.doc-base b/debian/osmcoastline-doc.doc-base
new file mode 100644
index 0000000..bbc6104
--- /dev/null
+++ b/debian/osmcoastline-doc.doc-base
@@ -0,0 +1,8 @@
+Document: osmcoastline
+Title: OSMCoastline documentation
+Author: Jochen Topf
+Section: Science/Geoscience
+
+Format: HTML
+Index: /usr/share/doc/osmcoastline-doc/html/index.html
+Files: /usr/share/doc/osmcoastline-doc/html/*.html
diff --git a/debian/osmcoastline-doc.docs b/debian/osmcoastline-doc.docs
new file mode 100644
index 0000000..306ee07
--- /dev/null
+++ b/debian/osmcoastline-doc.docs
@@ -0,0 +1 @@
+obj-*/doc/html/
diff --git a/debian/osmcoastline-doc.links b/debian/osmcoastline-doc.links
new file mode 100644
index 0000000..3f563b7
--- /dev/null
+++ b/debian/osmcoastline-doc.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/osmcoastline-doc/html/jquery.js
diff --git a/debian/osmcoastline.install b/debian/osmcoastline.install
new file mode 100644
index 0000000..511ec0f
--- /dev/null
+++ b/debian/osmcoastline.install
@@ -0,0 +1 @@
+obj-*/osmcoastline* usr/bin/
diff --git a/debian/rules b/debian/rules
index 9dd147d..2942d0f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,3 +9,18 @@
 override_dh_auto_configure:
 	dh_auto_configure -- -DCMAKE_VERBOSE_MAKEFILE=1
 
+override_dh_auto_build-arch:
+	dh_auto_build --arch
+
+override_dh_auto_build-indep:
+	(cd obj-* && $(MAKE) doc)
+
+override_dh_installdocs:
+	dh_installdocs
+
+	# Remove embedded jquery.js in favor of libjs-query
+	$(RM) debian/*/usr/share/doc/*/html/jquery.js
+
+	# Remove useless autogenerated doxygen file
+	$(RM) debian/*/usr/share/doc/*/html/*.md5
+

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



More information about the Pkg-grass-devel mailing list