summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog9
-rw-r--r--debian/control7
-rw-r--r--debian/liburiparser-dev.doc-base7
-rw-r--r--debian/liburiparser-dev.install1
-rwxr-xr-xdebian/rules7
5 files changed, 29 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index e34aed4..2844a6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,15 @@ uriparser (0.8.4-1) UNRELEASED; urgency=medium
* New upstream release.
* debian/liburiparser-dev.links:
- Bump library version to 1.0.20.
+ * Add documentation build:
+ - debian/rules:
+ + Remove --disable-doc from confflags.
+ + Add override_install to install the html docu.
+ - debian/liburiparser-dev.install:
+ + Add documentation.
+ - debian/control:
+ + Add Build-Depends for the docu build.
+ - New debian/liburiparser-dev.doc-base.
-- Jörg Frings-Fürst <debian@jff-webhosting.net> Sun, 01 Nov 2015 19:00:29 +0100
diff --git a/debian/control b/debian/control
index b7d51e2..ed2203c 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,12 @@ Maintainer: Jörg Frings-Fürst <debian@jff-webhosting.net>
Build-Depends:
debhelper (>= 9),
dh-autoreconf,
- dh-exec (>=0.3)
+ dh-exec (>=0.3),
+ doxygen,
+ graphviz,
+ qttools5-dev-tools,
+ qtbase5-dev,
+ libqt5sql5-sqlite
Standards-Version: 3.9.6
Homepage: http://uriparser.sourceforge.net
Vcs-Git: git://anonscm.debian.org/collab-maint/uriparser.git
diff --git a/debian/liburiparser-dev.doc-base b/debian/liburiparser-dev.doc-base
new file mode 100644
index 0000000..b078cbc
--- /dev/null
+++ b/debian/liburiparser-dev.doc-base
@@ -0,0 +1,7 @@
+Document: liburiparser
+Title: liburiparserx Documentation
+Section: Network/Communication
+
+Format: HTML
+Index: /usr/share/doc/liburiparser-dev/html/index.html
+Files: /usr/share/doc/liburiparser-dev/html/*.html
diff --git a/debian/liburiparser-dev.install b/debian/liburiparser-dev.install
index 68e5a87..33207b8 100644
--- a/debian/liburiparser-dev.install
+++ b/debian/liburiparser-dev.install
@@ -1,2 +1,3 @@
usr/include
usr/lib/*/pkgconfig/*
+usr/share/doc/uriparser/* \ No newline at end of file
diff --git a/debian/rules b/debian/rules
index adfe987..5cba506 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Configure arguments
-confflags = --prefix=/usr --disable-test --disable-doc --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
+confflags = --prefix=/usr --disable-test --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
@@ -25,6 +25,11 @@ endif
override_dh_auto_configure:
./configure $(confflags)
+override_dh_install:
+ dh_install
+ mv debian/liburiparser-dev/usr/share/doc/uriparser debian/liburiparser-dev/usr/share/doc/liburiparser-dev
+ $(RM) debian/liburiparser-dev/usr/share/doc/liburiparser-dev/html/*.md5
+
UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -n '/\(Version:\)/{s/^Version:[[:space:]]\+\([0-9]\+:\)\?\(.*\)/\2/p}' | rev | cut -d- -f 2- | rev)
override_dh_makeshlibs: