projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split code as a package, compiled into an executable zip
[youtube-dl]
/
Makefile
diff --git
a/Makefile
b/Makefile
index b1a41079a705f91fadddde8272266b3bc8e7f7c5..884aeb326871f0444e21245e8a2002f893857f31 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-18,6
+18,9
@@
update-readme:
echo "$${footer}" >> README.md
compile:
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
.PHONY: default compile update update-latest update-readme