[libwx-glcanvas-perl] 02/02: Move the embedded code copy away before the build
Nicolas Dandrimont
nicolas.dandrimont at crans.org
Mon Nov 4 02:11:05 UTC 2013
This is an automated email from the git hooks/post-receive script.
dandrimont-guest pushed a commit to branch master
in repository libwx-glcanvas-perl.
commit c3905a8b3f46d2202ded03671942b612c58d1733
Author: Nicolas Dandrimont <nicolas.dandrimont at crans.org>
Date: Mon Nov 4 03:08:18 2013 +0100
Move the embedded code copy away before the build
---
debian/rules | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/debian/rules b/debian/rules
index 1b04f4b..b7771c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,18 @@
%:
dh $@
+override_dh_auto_build:
+ # Move the wx embedded code copy out of the way
+ if [ -d wx ]; then rm -rf wx_disabled && mv wx wx_disabled; fi
+
+ dh_auto_build
+
+override_dh_auto_clean:
+ dh_auto_clean
+
+ # Move the wx embedded code copy back
+ if [ -d wx_disabled ]; then rm -rf wx && mv wx_disabled wx; fi
+
override_dh_auto_install:
dh_auto_install
mkdir -p $(CURDIR)/debian/libwx-glcanvas-perl/usr/share/doc/libwx-glcanvas-perl
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libwx-glcanvas-perl.git
More information about the Pkg-perl-cvs-commits
mailing list