[Pkg-samba-maint] [ctdb] 07/10: Docs are not in Makefile anymore, install using dh_installdocs

Mathieu Parent sathieu at alioth.debian.org
Thu Aug 15 18:42:47 UTC 2013


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

sathieu pushed a commit to branch debian-sid
in repository ctdb.

commit 93aeb59f0ef9220ce3c8025998b3e9a28f80ca4c
Author: Mathieu Parent <math.parent at gmail.com>
Date:   Thu Aug 15 14:54:15 2013 +0200

    Docs are not in Makefile anymore, install using dh_installdocs
    
    Inspired from specfile
---
 debian/changelog    |    1 +
 debian/ctdb.docs    |    5 +++++
 debian/ctdb.install |    1 -
 debian/rules        |    2 ++
 4 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e1fc689..0922973 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ ctdb (2.3+debian0-1) UNRELEASED; urgency=low
   * d/rules: set VERBOSE=1 (replaces 0002-Display-compiler-commands.patch)
   * d/control: set buildep versions of lib{tdb,talloc,tevent}, according to
     ctdb.spec
+  * Docs are not in Makefile anymore, install using dh_installdocs
 
  -- Mathieu Parent <sathieu at debian.org>  Sat, 10 Aug 2013 19:22:53 +0200
 
diff --git a/debian/ctdb.docs b/debian/ctdb.docs
index c077218..7800327 100644
--- a/debian/ctdb.docs
+++ b/debian/ctdb.docs
@@ -1 +1,6 @@
+doc/recovery-process.txt
 web
+NEWS
+README
+README.eventscripts
+README.notify.d
diff --git a/debian/ctdb.install b/debian/ctdb.install
index 9906c41..df6ad65 100644
--- a/debian/ctdb.install
+++ b/debian/ctdb.install
@@ -2,5 +2,4 @@ etc/ctdb
 etc/default/ctdb
 usr/bin/*
 usr/sbin/*
-usr/share/doc/ctdb/*
 usr/share/man/man1/*
diff --git a/debian/rules b/debian/rules
index 61f5172..b9f4a7e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,6 +34,8 @@ override_dh_auto_install:
 	install -m644 config/ctdb.sysconfig $(DESTDIR)/etc/default/ctdb
 
 override_dh_installdocs:
+	cp config/events.d/README README.eventscripts
+	cp config/notify.d.README README.notify.d
 	dh_installdocs
 ifeq ($(DEB_BUILD_ARCH_OS), hurd)
 	dh_installdocs debian/README.hurd

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



More information about the Pkg-samba-maint mailing list