about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-01-07 16:09:43 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-01-07 16:09:43 +0100
commitc5d666d3741d076d668c16f0dd3601589484b7c3 (patch)
tree8fa68102dd003e4427c25db3c5f4abf163c091c7 /Makefile
parent5d8993b06adb24b9c275a42a67dc6bbeae590407 (diff)
downloadyoutube-dl-c5d666d3741d076d668c16f0dd3601589484b7c3.tar.gz
youtube-dl-c5d666d3741d076d668c16f0dd3601589484b7c3.tar.xz
youtube-dl-c5d666d3741d076d668c16f0dd3601589484b7c3.zip
Fix build with python 2.6
* Packages cannot be executed
* '.format' needs the index of the argument

(Reported in https://github.com/Homebrew/homebrew/issues/35616)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e53a367ef..578079879 100644
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,7 @@ youtube-dl: youtube_dl/*.py youtube_dl/*/*.py
 	chmod a+x youtube-dl
 
 README.md: youtube_dl/*.py youtube_dl/*/*.py
-	COLUMNS=80 python -m youtube_dl --help | python devscripts/make_readme.py
+	COLUMNS=80 python youtube_dl/__main__.py --help | python devscripts/make_readme.py
 
 CONTRIBUTING.md: README.md
 	python devscripts/make_contributing.py README.md CONTRIBUTING.md