X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/c39143087e10ba3fe3c3a309b847354b82d6125e..b74f612ed2a502bba6ac90db119bf0dea2b68629:/debian/rules

diff --git a/debian/rules b/debian/rules
index 82d26cb..e1e9a31 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,12 +9,13 @@ export PATH := $(CURDIR)/debian/utils:$(PATH)
 
 override_dh_auto_configure:
 	PREFIX=/usr SYSCONFDIR=/etc make
-	mv Makefile Makefile.inactive
 	rm youtube-dl
 
 override_dh_clean:
-	test -f Makefile || mv Makefile.inactive Makefile
 	make clean
 	dh_clean
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	make offlinetest PYTHON=python3
+endif