From 4c2506bfcb96e47cf9588db6a2ff8762e5bd415b Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Sun, 3 Aug 2014 23:20:39 +0200 Subject: [PATCH] Use sphinxdoc debhelper sequence. --- debian/changelog | 1 + debian/control | 2 +- debian/rules | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 61959bd4f..6126447a0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -18,6 +18,7 @@ cmake (3.0.0-1) UNRELEASED; urgency=medium - Build-depend on python-sphinx. * Update install files. * Pass --list-missing to dh_install. + * Use sphinxdoc debhelper sequence. -- Felix Geyer Sun, 03 Aug 2014 20:21:55 +0200 diff --git a/debian/control b/debian/control index e95704a3e..fe2bcd1ef 100644 --- a/debian/control +++ b/debian/control @@ -74,7 +74,7 @@ Description: Qt4 based user interface for CMake (cmake-gui) Package: cmake-doc Architecture: all Section: doc -Depends: ${misc:Depends} +Depends: ${misc:Depends}, ${sphinxdoc:Depends} Recommends: doc-base Breaks: cmake (<= 2.8.2-1), cmake-data (<= 2.8.2-1), cmake-curses-gui (<= 2.8.2-1), cmake-qt-gui (<= 2.8.2-1) diff --git a/debian/rules b/debian/rules index 61a2d4f9e..db9a4721e 100755 --- a/debian/rules +++ b/debian/rules @@ -52,7 +52,10 @@ override_dh_install: override_dh_installdocs: dh_installdocs --link-doc=cmake-data +override_dh_sphinxdoc: + dh_sphinxdoc -pcmake-doc + %: - dh $@ --with=bash-completion --parallel --builddirectory=Build --dbg-package=cmake-dbg + dh $@ --with=bash-completion,sphinxdoc --parallel --builddirectory=Build --dbg-package=cmake-dbg .PHONY: override_dh_auto_configure override_dh_auto_clean