From 59cec8880b613767ec7e7faeb6471103e2d8c5d2 Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Mon, 26 Sep 2011 19:15:37 -0600 Subject: [PATCH] patch from Luca Capello to move LDAP examples into sudo-ldap/examples --- debian/changelog | 8 +++++++- debian/rules | 7 ++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5032595..c19f36a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,14 @@ sudo (1.8.2-2) UNRELEASED; urgency=low + [ Luca Capello ] + * debian/rules improvements, closes: #642535 + + mv upstream sample.* files to the examples folder. + - do not call dh_installexamples. + + [ Bdale Garbee ] * patch from upstream for SIGBUS on sparc64, closes: #640304 - -- Bdale Garbee Fri, 16 Sep 2011 09:40:03 -0600 + -- Bdale Garbee Mon, 26 Sep 2011 19:14:59 -0600 sudo (1.8.2-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index c6ff65e..3f924fa 100755 --- a/debian/rules +++ b/debian/rules @@ -104,6 +104,12 @@ install: build-stamp debian/sudo-ldap/usr/share/doc/sudo-ldap/ rmdir debian/sudo-ldap/usr/share/doc/sudo + # move sample files to the examples folder + mv debian/sudo/usr/share/doc/sudo/sample.* \ + debian/sudo/usr/share/doc/sudo/examples/ + mv debian/sudo-ldap/usr/share/doc/sudo-ldap/sample.* \ + debian/sudo-ldap/usr/share/doc/sudo-ldap/examples/ + # and install things we do want that make install doesn't know about install -o root -g root -m 0644 debian/sudo.pam \ debian/sudo/etc/pam.d/sudo @@ -131,7 +137,6 @@ binary-arch: build install dh_testdir dh_testroot dh_installdocs -A - dh_installexamples -A doc/sample.sudoers dh_installinit -psudo -psudo-ldap --name=sudo dh_installman -A dh_installinfo -A -- 2.30.2