[Pkg-libvirt-commits] [SCM] Libvirt Debian packaging branch, master, updated. debian/1.1.0-3
Guido Günther
agx at sigxcpu.org
Tue Jul 16 14:25:30 UTC 2013
The following commit has been merged in the master branch:
commit 000df649561a5de1191dce5e0aa4d57e624733b0
Author: Guido Günther <agx at sigxcpu.org>
Date: Tue Jul 16 15:16:45 2013 +0200
Don't assume EXAMPLES_DIR exists
as seen on the autobuilders
Closes: #717059
diff --git a/debian/rules b/debian/rules
index be87709..4b089eb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -141,7 +141,7 @@ override_dh_installinit:
override_dh_installdocs:
dh_installdocs
# Remove binaries and object files examples
- find $(EXAMPLES_DIR) -name "*.o" -type f -delete -o -name .libs -type d -exec rm -rf {} \;
+ [ ! -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
--
Libvirt Debian packaging
More information about the Pkg-libvirt-commits
mailing list