[Pkg-libvirt-commits] [SCM] Libvirt Debian packaging branch, master, updated. debian/0.7.1-2-10-g35451bf

Laurent Léonard laurent at open-minds.org
Sat Oct 24 02:01:59 UTC 2009


The following commit has been merged in the master branch:
commit 35451bf32d273e99987d1a202e3155559519bdb1
Author: Laurent Léonard <laurent at open-minds.org>
Date:   Sat Oct 24 03:59:42 2009 +0200

    Update debian/rules to support new example files.

diff --git a/debian/rules b/debian/rules
index 02d7056..4ae8ebd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,7 @@ DEB_CONFIGURE_EXTRA_FLAGS :=     \
 	$(BUILD_VBOX)		 \
 	$(BUILD_LXC)
 
+DEB_COMPRESS_EXCLUDE = .o event-test hellolibvirt info1 suspend
 DEB_DBG_PACKAGES = libvirt0-dbg
 DEB_DBG_PACKAGE_libvirt0 = libvirt0-dbg
 DEB_PYTHON_SETUP_CMD = /dev/null
@@ -47,7 +48,7 @@ DEB_DH_MAKESHLIBS_ARGS_libvirt0 += -V 'libvirt0 (>= 0.5.0)'
 DEB_DH_INSTALLINIT_ARGS = --no-restart-on-upgrade -- defaults 28 72
 DEB_DH_INSTALLLOGROTATE_ARGS = --name=libvirtd
 
-EXAMPLES = debian/libvirt-doc/usr/share/doc/libvirt-doc/examples/
-
 binary-install/libvirt-doc::
-	cd $(EXAMPLES) && rm -rf .libs *.o info1 suspend ../html/CVS
+	cd debian/libvirt-doc/usr/share/doc/libvirt-doc/examples && \
+		find * -name "*.o" -type f -delete -o -name .libs -type d -exec rm -rf {} \; && \
+		rm -f domain-events/events-c/event-test dominfo/info1 domsuspend/suspend hellolibvirt/hellolibvirt

-- 
Libvirt Debian packaging



More information about the Pkg-libvirt-commits mailing list