mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-08 18:30:37 +00:00
Fix tar target (--exclude-vcs is not supported everywhere, and reading . while writing to it can fail randomly)
This commit is contained in:
parent
0aa3068e9e
commit
814eed0ea1
20
Makefile
20
Makefile
@ -45,22 +45,16 @@ youtube-dl.bash-completion: youtube_dl/*.py devscripts/bash-completion.in
|
|||||||
python devscripts/bash-completion.py
|
python devscripts/bash-completion.py
|
||||||
|
|
||||||
youtube-dl.tar.gz: all
|
youtube-dl.tar.gz: all
|
||||||
@tar -czf youtube-dl.tar.gz --transform "s|^./|./youtube-dl/|" --owner 0 --group 0 \
|
@tar -czf youtube-dl.tar.gz --transform "s|^|youtube-dl/|" --owner 0 --group 0 \
|
||||||
--exclude-vcs \
|
|
||||||
--exclude '*.DS_Store' \
|
--exclude '*.DS_Store' \
|
||||||
--exclude '*.kate-swp' \
|
--exclude '*.kate-swp' \
|
||||||
--exclude '*.pyc' \
|
--exclude '*.pyc' \
|
||||||
--exclude '*.pyo' \
|
--exclude '*.pyo' \
|
||||||
--exclude '*~' \
|
--exclude '*~' \
|
||||||
--exclude '__pycache' \
|
--exclude '__pycache' \
|
||||||
--exclude 'build' \
|
--exclude '.git' \
|
||||||
--exclude 'cover' \
|
-- \
|
||||||
--exclude '.coverage' \
|
bin devscripts test youtube_dl \
|
||||||
--exclude 'dist' \
|
CHANGELOG LICENSE README.md README.txt \
|
||||||
--exclude 'MANIFEST' \
|
MANIFEST.in youtube-dl.1 youtube-dl.bash-completion setup.py \
|
||||||
--exclude 'py2exe.log' \
|
youtube-dl
|
||||||
--exclude 'updates_key.pem' \
|
|
||||||
--exclude 'wine-py2exe' \
|
|
||||||
--exclude 'youtube-dl.exe' \
|
|
||||||
--exclude 'youtube-dl.tar.gz' \
|
|
||||||
-- .
|
|
||||||
|
Loading…
Reference in New Issue
Block a user