[libxml-atom-microformats-perl] 01/02: debian/rules: move outdated inc/ out of the way before tests
gregor herrmann
gregoa at debian.org
Tue Jun 23 15:49:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libxml-atom-microformats-perl.
commit 32f0fe38ed622002f0777d0a067e4e6b07af0f52
Author: gregor herrmann <gregoa at debian.org>
Date: Tue Jun 23 17:46:26 2015 +0200
debian/rules: move outdated inc/ out of the way before tests
and back afterwards.
Closes: #789631
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index aa8a7cd..29bb540 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,3 +40,10 @@ CDBS_DEPENDS_$(pkg) = $(deps)
CDBS_RECOMMENDS_$(pkg) = $(deps-recommend)
DEB_INSTALL_EXAMPLES_$(pkg) = examples/*
+
+# move outdated inc/ out of the way before tests and back afterwards
+configure/$(pkg)::
+ [ -d $(CURDIR)/inc.old ] || mv -v $(CURDIR)/inc $(CURDIR)/inc.old
+
+build/$(pkg)::
+ [ ! -d $(CURDIR)/inc.old ] || mv -v $(CURDIR)/inc.old $(CURDIR)/inc
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libxml-atom-microformats-perl.git
More information about the Pkg-perl-cvs-commits
mailing list