X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/c904e5797e7fd8a7405e1e835c9d37b40c334c97..ae51746b072e62f27512cf4d5093327e3453be01:/debian/rules

diff --git a/debian/rules b/debian/rules
index 9031782..8271a23 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,18 +10,15 @@ install: build
 	dh_testdir
 	dh_testroot
 	dh_clean -k 
-	dh_installdirs
-
-	install -m 0755 $(CURDIR)/youtube-dl $(CURDIR)/debian/youtube-dl/usr/bin
+	dh_install
 
+binary-arch:
 binary-indep: build install
-
-binary-arch: build install
 	dh_testdir
 	dh_testroot
 	dh_installchangelogs 
 	dh_installdocs
-	dh_installman $(CURDIR)/debian/youtube-dl.1
+	dh_installman debian/youtube-dl.1
 	dh_compress
 	dh_fixperms
 	dh_installdeb