summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 2dee1ad..c1463d4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,9 +13,11 @@ override_dh_auto_configure:
PERL_DBD_ODBC_PREFER_UNIXODBC=1 dh_auto_configure
override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
DBI_DSN=dbi:ODBC:"DRIVER=SQLite3;database=$(TESTDB)" dh_auto_test
# remove testdb after tests
$(RM) -v $(TESTDB)
+endif
override_dh_installexamples:
dh_installexamples