]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - debian/rules
Prepare to release.
[youtubedl] / debian / rules
index 82d26cbeb20215b18fae35212f3ffda59d764b78..e1e9a31437d6d1d4a3eda5e3016d0ae1dd753520 100755 (executable)
@@ -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