|
|
|
@ -117,8 +117,9 @@ _EXTRACTOR_FILES = $(shell find youtube_dl/extractor -iname '*.py' -and -not -in
|
|
|
|
|
youtube_dl/extractor/lazy_extractors.py: devscripts/make_lazy_extractors.py devscripts/lazy_load_template.py $(_EXTRACTOR_FILES)
|
|
|
|
|
$(PYTHON) devscripts/make_lazy_extractors.py $@
|
|
|
|
|
|
|
|
|
|
VERSION = $(shell grep version youtube_dl/version.py |cut -f2 -d "'")
|
|
|
|
|
youtube-dl.tar.gz: youtube-dl README.md README.txt youtube-dl.1 youtube-dl.bash-completion youtube-dl.zsh youtube-dl.fish ChangeLog AUTHORS
|
|
|
|
|
@tar -czf youtube-dl.tar.gz --transform "s|^|youtube-dl/|" --owner 0 --group 0 \
|
|
|
|
|
@tar -czf youtube-dl-$(VERSION).tar.gz --transform "s|^|youtube-dl-$(VERSION)/|" --owner 0 --group 0 \
|
|
|
|
|
--exclude '*.DS_Store' \
|
|
|
|
|
--exclude '*.kate-swp' \
|
|
|
|
|
--exclude '*.pyc' \
|
|
|
|
|