[X2Go-Commits] [pale-moon] 02/11: debian/rules: add dh_testdir protection.
git-admin at x2go.org
git-admin at x2go.org
Mon May 28 23:44:14 CEST 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository pale-moon.
commit b3a952d8fb59964aedada5351cb5c4d2bf9fe014
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon May 28 22:54:08 2018 +0200
debian/rules: add dh_testdir protection.
Debian's firefox(-esr) package uses it.
---
debian/changelog | 1 +
debian/rules | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 2e354c0..37af6b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ palemoon (27.9.1a1~0x2go1) obs; urgency=medium
- Switch to contrib/web section.
* debian/rules:
- Tabbify.
+ - Add dh_testdir protection. Debian's firefox(-esr) package uses it.
-- Mihai Moldovan <ionic at ionic.de> Mon, 28 May 2018 03:44:10 +0200
diff --git a/debian/rules b/debian/rules
index d5c8711..35aeeaa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,9 @@
#!/usr/bin/make -f
# -*- makefile -*-
+TESTDIR = $(shell dh_testdir || echo no)
+ifeq (,$(TESTDIR))
+
export SHELL=/bin/bash
# Build with gcc-4.9 on Stretch, Buster,Xenial, Yakkety, Zesty, and Horizon.
@@ -44,3 +47,4 @@ override_dh_shlibdeps:
# It's OK to leave this in for those that do.
override_dh_builddeb:
dh_builddeb -- -Z xz
+endif
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git
More information about the x2go-commits
mailing list