13 365 B

123456789101112
  1. #Makefile: creates the executable zipfile
  2. #ln=
  3. youtube-dl: youtube_dl/*.py youtube_dl/*/*.py
  4. zip --quiet youtube-dl youtube_dl/*.py youtube_dl/*/*.py
  5. zip --quiet --junk-paths youtube-dl youtube_dl/__main__.py
  6. echo '#!$(PYTHON)' > youtube-dl
  7. cat youtube-dl.zip >> youtube-dl
  8. rm youtube-dl.zip
  9. chmod a+x youtube-dl
  10. README.md: youtube_dl/*.py youtube_dl/*/*.py