[librdf-generator-void-perl] 01/02: debian/rules: move outdated inc/ out of the way before tests
gregor herrmann
gregoa at debian.org
Wed Jun 24 21:57:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository librdf-generator-void-perl.
commit 2ceed4a6a22d1151613484259d8067b0300516f3
Author: gregor herrmann <gregoa at debian.org>
Date: Wed Jun 24 23:54:45 2015 +0200
debian/rules: move outdated inc/ out of the way before tests
and back afterwards.
Closes: #789850
---
debian/rules | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/rules b/debian/rules
index 387c62c..42b2304 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,3 +40,10 @@ deps-enhances = perlrdf (>= 0.04)
CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test), $(deps-enhances)
CDBS_DEPENDS_$(pkg) = $(deps)
CDBS_ENHANCES_$(pkg) = $(deps-enhances)
+
+# 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/librdf-generator-void-perl.git
More information about the Pkg-perl-cvs-commits
mailing list