]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - debian/rules
Tidy up cleanup rule and keep lintian happy.
[youtubedl] / debian / rules
index 9c645f1c863c90c91a71d29ad84cb96a3d6d86dd..3efd20e1e7d5d89ef75911917e4bf66a5cf3fad7 100755 (executable)
@@ -9,9 +9,8 @@ override_dh_auto_configure:
        rm youtube-dl
 
 override_dh_clean:
        rm youtube-dl
 
 override_dh_clean:
-       -mv Makefile.inactive Makefile
-       -make clean
+       test -f Makefile || mv Makefile.inactive Makefile
+       make clean
        dh_clean
        dh_clean
-       rm -rf youtube_dl.egg-info
 
 override_dh_auto_test:
 
 override_dh_auto_test: