[Forensics-changes] [crack] 14/40: Replace override_dh_install{docs, examples, man} with debian/crack-common.*

Giovani Augusto Ferreira giovani-guest at moszumanska.debian.org
Wed Dec 28 02:47:53 UTC 2016


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

giovani-guest pushed a commit to branch debian
in repository crack.

commit c45f5629fea44244165c3eee7bffc08d4ee69257
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Sun Oct 9 22:53:09 2016 +0200

    Replace override_dh_install{docs,examples,man} with debian/crack-common.*
---
 debian/changelog             |  2 ++
 debian/crack-common.docs     |  1 +
 debian/crack-common.examples |  1 +
 debian/crack-common.links    |  1 +
 debian/crack-common.manpages |  1 +
 debian/rules                 | 11 -----------
 6 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bb9839e..dedeac9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ crack (5.0a-10) UNRELEASED; urgency=medium
     + Switch to a minimal dh v7 style debian/rules file.
     + Use debian/clean instead of manual calls to rm in clean target.
     + Use dh_auto_clean instead of manual call to make.
+    + Replace override_dh_install{docs,examples,man} with
+      debian/crack-common.{docs,examples,manpages,link}
 
  -- Axel Beckert <abe at debian.org>  Sun, 09 Oct 2016 21:53:26 +0200
 
diff --git a/debian/crack-common.docs b/debian/crack-common.docs
index c1968d0..a177ed9 100644
--- a/debian/crack-common.docs
+++ b/debian/crack-common.docs
@@ -2,3 +2,4 @@ manual.txt
 manual.html
 c50-faq.html
 c50-faq.txt
+doc/*
diff --git a/debian/crack-common.examples b/debian/crack-common.examples
new file mode 100644
index 0000000..353e805
--- /dev/null
+++ b/debian/crack-common.examples
@@ -0,0 +1 @@
+extra/*
diff --git a/debian/crack-common.links b/debian/crack-common.links
new file mode 100644
index 0000000..a3f2068
--- /dev/null
+++ b/debian/crack-common.links
@@ -0,0 +1 @@
+/usr/share/man/man8/Crack.8 /usr/share/man/man8/Crack-Reporter.8
diff --git a/debian/crack-common.manpages b/debian/crack-common.manpages
new file mode 100644
index 0000000..e39c34f
--- /dev/null
+++ b/debian/crack-common.manpages
@@ -0,0 +1 @@
+debian/Crack.8
diff --git a/debian/rules b/debian/rules
index 7e01278..e98fc55 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,14 +52,3 @@ override_dh_auto_install:
 
 	cd debian/crack-md5/var/lib/Crack/bin/ && ln -s /usr/lib/Crack debian
 	install -m755 debian/Crack debian/Crack-Reporter debian/crack-md5/usr/sbin/
-
-override_dh_installdocs:
-	dh_installdocs -pcrack-common doc/*
-	dh_installdocs --remaining
-
-override_dh_installexamples:
-	dh_installexamples extra/*
-
-override_dh_installman:
-	dh_installman debian/Crack.8
-	cd debian/crack-common/usr/share/man/man8/ && ln -s Crack.8 Crack-Reporter.8

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/crack.git



More information about the forensics-changes mailing list