aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorFilippo Valsorda <[email protected]>2012-03-25 03:07:37 +0200
committerFilippo Valsorda <[email protected]>2012-03-25 03:07:37 +0200
commitd77c3dfd027e9af4d44fc7109fac0012451268c2 (patch)
tree462ed90f77bfd75cc380e24273e8d627a6af34af /Makefile
parentc23d8a74dcf54df1cd4df95323897c0d5070d8a9 (diff)
downloadyoutube-dl-d77c3dfd027e9af4d44fc7109fac0012451268c2.tar.gz
youtube-dl-d77c3dfd027e9af4d44fc7109fac0012451268c2.zip
Split code as a package, compiled into an executable zip
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