[osrm] 12/14: Build and install documentation with doxygen.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sat Dec 26 00:51:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository osrm.
commit ceb1bf45000ed5f9fef08fe7fcef284bf7677729
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Dec 25 21:06:07 2015 +0100
Build and install documentation with doxygen.
---
debian/changelog | 1 +
debian/control | 16 +++++++++++++++-
debian/osrm-doc.doc-base | 7 +++++++
debian/osrm-doc.install | 1 +
debian/osrm-doc.links | 1 +
debian/rules | 9 +++++++++
6 files changed, 34 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 2f16712..64e42e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ osrm (4.9.0+ds-1) UNRELEASED; urgency=medium
* Override dh_install to use --list-missing.
* Add patch to fix 'occurred' typo.
* Install new binaries in osrm & osrm-dev.
+ * Build and install documentation with doxygen.
-- Bas Couwenberg <sebastic at debian.org> Fri, 25 Dec 2015 18:44:15 +0100
diff --git a/debian/control b/debian/control
index 8f6890c..5665a03 100644
--- a/debian/control
+++ b/debian/control
@@ -30,7 +30,9 @@ Build-Depends: debhelper (>= 9.0.0),
libosmium2-dev,
libgdal-dev,
libtbb-dev,
- libexpat1-dev
+ libexpat1-dev,
+ doxygen,
+ graphviz
Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/osrm.git
Vcs-Git: git://anonscm.debian.org/pkg-grass/osrm.git
@@ -66,9 +68,21 @@ Package: osrm-dev
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
+Suggests: osrm-doc
Description: OSRM development files
The Open Source Routing Machine (OSRM) is a C++ implementation of a
high-performance routing engine for shortest paths in road networks.
.
This package contains the OSRM development files.
+Package: osrm-doc
+Architecture: all
+Section: doc
+Depends: libjs-jquery,
+ ${misc:Depends}
+Description: OSRM documentation
+ The Open Source Routing Machine (OSRM) is a C++ implementation of a
+ high-performance routing engine for shortest paths in road networks.
+ .
+ This package contains the documentation for OSRM.
+
diff --git a/debian/osrm-doc.doc-base b/debian/osrm-doc.doc-base
new file mode 100644
index 0000000..a892f9f
--- /dev/null
+++ b/debian/osrm-doc.doc-base
@@ -0,0 +1,7 @@
+Document: osrm
+Title: OSRM Documentation
+Section: Science/Geoscience
+
+Format: HTML
+Index: /usr/share/doc/osrm-doc/html/index.html
+Files: /usr/share/doc/osrm-doc/html/*.html
diff --git a/debian/osrm-doc.install b/debian/osrm-doc.install
new file mode 100644
index 0000000..951e0cf
--- /dev/null
+++ b/debian/osrm-doc.install
@@ -0,0 +1 @@
+html usr/share/doc/osrm-doc/
diff --git a/debian/osrm-doc.links b/debian/osrm-doc.links
new file mode 100644
index 0000000..399f7dd
--- /dev/null
+++ b/debian/osrm-doc.links
@@ -0,0 +1 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/osrm-doc/html/jquery.js
diff --git a/debian/rules b/debian/rules
index 3700da4..faf649d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,10 +7,19 @@ export DEB_BUILD_HARDENING=1
override_dh_clean:
dh_clean util/fingerprint_impl.hpp util/git_sha.cpp
+ $(RM) -r html/ latex/
override_dh_auto_configure:
dh_auto_configure -- -DBUILD_TOOLS=1 -DCMAKE_VERBOSE_MAKEFILE=1
+override_dh_auto_build-arch:
+ dh_auto_build --arch
+
+override_dh_auto_build-indep:
+ find $(CURDIR) -name Doxyfile
+ doxygen obj-*/Doxyfile
+ $(RM) html/*.md5
+
override_dh_install:
dh_install --list-missing
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osrm.git
More information about the Pkg-grass-devel
mailing list