[opencv] 02/10: d/rules: remove empty directories from the installed tree

Mattia Rizzolo mattia at debian.org
Mon Apr 3 20:46:13 UTC 2017


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

mattia pushed a commit to branch master
in repository opencv.

commit 7a2b8b971961207948565adb98356ea200bc7d45
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Mon Apr 3 21:45:42 2017 +0200

    d/rules: remove empty directories from the installed tree
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 587d34d..79b1c11 100755
--- a/debian/rules
+++ b/debian/rules
@@ -131,6 +131,7 @@ override_dh_install:
 	rm -rf debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*_pch_dephelp.a
 	rm -rf debian/tmp/usr/share/OpenCV/doc/html/jquery.js
 
+	find debian/tmp -type d -empty -delete
 	dh_install -O--buildsystem=cmake --list-missing
 
 override_dh_gencontrol:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list