X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/ee121ffd5cd3fe6fd1daa5699cae3becf3483dd3..3c8dfeaaafba7e791790f1c95fc2120afb6ddd59:/debian/rules

diff --git a/debian/rules b/debian/rules
index a192947..344b8ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,11 @@
 #!/usr/bin/make -f
 %:
-	dh $@
+	dh $@ --buildsystem=python_distutils
 
-override_dh_installman:
-	pod2man -r "youtube-dl" -c "User commands" debian/youtube-dl.pod > debian/youtube-dl.1
-	dh_installman
+override_dh_install:
+	mv debian/youtube-dl/usr/etc debian/youtube-dl/
+	dh_install
 
-override_dh_auto_build:
-
-override_dh_python2:
-
-override_dh_pysupport:
+override_dh_clean:
+	dh_clean
+	rm -rf youtube_dl.egg-info