aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b1a41079a..884aeb326 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,9 @@ update-readme:
echo "$${footer}" >> README.md
compile:
- cp youtube_dl/__init__.py youtube-dl
+ zip --junk-paths youtube-dl youtube_dl/*.py
+ echo '#!/usr/bin/env python' > youtube-dl
+ cat youtube-dl.zip >> youtube-dl
+ rm youtube-dl.zip
.PHONY: default compile update update-latest update-readme