From: Rogério Brito <rbrito@ime.usp.br>
Date: Tue, 2 Jul 2013 06:44:52 +0000 (-0300)
Subject: debian/rules: Use python2 plugin with debhelper.
X-Git-Url: https://git.rapsys.eu/youtubedl/commitdiff_plain/686c8b31bae3fa16d59f65456910a5f4449ae15e

debian/rules: Use python2 plugin with debhelper.

This way, we get automatic compilation of the *.py files and other
goodies.
---

diff --git a/debian/rules b/debian/rules
index 82b329d..07d43f2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 %:
-	dh $@ --buildsystem=python_distutils
+	dh $@ --with python2 --buildsystem=python_distutils
 
 override_dh_install:
 	mv debian/youtube-dl/usr/etc debian/youtube-dl/