[Pkg-libvirt-commits] [libvirt] 01/08: Don't ship apparmor profiles in the doc package too

Guido Guenther agx at moszumanska.debian.org
Fri Sep 29 11:43:49 UTC 2017


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

agx pushed a commit to annotated tag debian/3.8.0_rc1-1
in repository libvirt.

commit 48d5f541b4a776a0503761cff1291d338a6606fd
Author: Guido Günther <agx at sigxcpu.org>
Date:   Sat Sep 23 14:23:40 2017 +0200

    Don't ship apparmor profiles in the doc package too
    
    This is just confusing since things are installed in
    libvirt-daemon-system.
---
 debian/rules | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index dd13ee6..5c907d1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
 DEB_RELEASE=$(shell dpkg-parsechangelog -SVersion | sed 's/[^-]\+-//')
 DEB_BUILDDATE=$(shell dpkg-parsechangelog -SDate)
 DEB_BUILDUSER=$(shell dpkg-parsechangelog -SMaintainer)
+NULL=
 
 ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
   ifneq (,$(findstring $(DEB_HOST_ARCH), i386 amd64))
@@ -226,10 +227,12 @@ override_dh_installdocs:
 	dh_installdocs
 	# Remove binaries and object files examples
 	[ ! -d $(EXAMPLES_DIR) ] || find $(EXAMPLES_DIR) -name "*.o" -type f -delete -o -name .libs -type d -exec rm -rf {} \;
-	rm -f $(EXAMPLES_DIR)domain-events/events-c/event-test
-	rm -f $(EXAMPLES_DIR)dominfo/info1
-	rm -f $(EXAMPLES_DIR)domsuspend/suspend
-	rm -f $(EXAMPLES_DIR)hellolibvirt/hellolibvirt
+	rm -f $(EXAMPLES_DIR)domain-events/events-c/event-test \
+	      $(EXAMPLES_DIR)dominfo/info1 \
+	      $(EXAMPLES_DIR)domsuspend/suspend \
+	      $(EXAMPLES_DIR)hellolibvirt/hellolibvirt \
+	      $(EXAMPLES_DIR)apparmor/* \
+	      $(NULL)
 
 override_dh_auto_clean:
 	[ ! -f Makefile ] || dh_auto_clean

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



More information about the Pkg-libvirt-commits mailing list