[pkg] Let dh_installdocs deal with doc-base 3.21.1 centos/3.21.1-1 debian/3.21.1-1
authorJulien Cristau <julien.cristau@logilab.fr>
Tue, 28 Jul 2015 18:59:14 +0200
changeset 10560 a8a0de0298a5
parent 10559 5821ae654dfd
child 10561 5765cd3c94c7
[pkg] Let dh_installdocs deal with doc-base
debian/cubicweb-doc
debian/cubicweb-documentation.doc-base
debian/cubicweb-documentation.install
debian/cubicweb-documentation.postinst
debian/cubicweb-documentation.prerm
--- a/debian/cubicweb-doc	Tue Jul 28 18:57:21 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-Document: cubicweb-doc
-Title: CubicWeb documentation
-Author: Logilab
-Abstract: Some base documentation for CubicWeb users and developpers
-Section: Apps/Programming
-
-Format: HTML
-Index: /usr/share/doc/cubicweb-documentation/index.html
-Files: /usr/share/doc/cubicweb-documentation/*.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/cubicweb-documentation.doc-base	Tue Jul 28 18:59:14 2015 +0200
@@ -0,0 +1,9 @@
+Document: cubicweb-doc
+Title: CubicWeb documentation
+Author: Logilab
+Abstract: Some base documentation for CubicWeb users and developpers
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/cubicweb-documentation/index.html
+Files: /usr/share/doc/cubicweb-documentation/*.html
--- a/debian/cubicweb-documentation.install	Tue Jul 28 18:57:21 2015 +0200
+++ b/debian/cubicweb-documentation.install	Tue Jul 28 18:59:14 2015 +0200
@@ -1,3 +1,2 @@
 ../../doc/book usr/share/doc/cubicweb-documentation
 ../../doc/_build/html usr/share/doc/cubicweb-documentation
-../../debian/cubicweb-doc usr/share/doc-base/cubicweb-doc
--- a/debian/cubicweb-documentation.postinst	Tue Jul 28 18:57:21 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-#! /bin/sh -e
-#
-
-if [ "$1" = configure ]; then
-  if which install-docs >/dev/null 2>&1; then
-    install-docs -i /usr/share/doc-base/cubicweb-doc
-  fi
-fi
-
-
-#DEBHELPER#
-
-exit 0
--- a/debian/cubicweb-documentation.prerm	Tue Jul 28 18:57:21 2015 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-#! /bin/sh -e
-#
-
-if [ "$1" = remove -o "$1" = upgrade ]; then
-  if which install-docs >/dev/null 2>&1; then
-    install-docs -r cubicweb-doc
-  fi
-fi
-
-#DEBHELPER#
-
-exit 0