[Pkg-libvirt-commits] [SCM] Libvirt Debian packaging branch, master, updated. debian/0.7.2-4-6-g65084d2
Laurent Léonard
laurent at open-minds.org
Tue Dec 1 02:06:09 UTC 2009
The following commit has been merged in the master branch:
commit 65084d2d6696a33ac379e6042076ad1bbde7e021
Author: Laurent Léonard <laurent at open-minds.org>
Date: Sun Nov 29 21:05:03 2009 +0100
Enhance handling of examples.
diff --git a/debian/rules b/debian/rules
index 4ae8ebd..31fc259 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,7 +48,11 @@ 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_DIR = $(CURDIR)/debian/libvirt-doc/usr/share/doc/libvirt-doc/examples/
+
binary-install/libvirt-doc::
- 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
+ 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
--
Libvirt Debian packaging
More information about the Pkg-libvirt-commits
mailing list