aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-01-07 12:48:07 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-01-07 12:48:07 +0100
commit814eed0ea1f91815cec645d9eb6f79c841d541fb (patch)
tree4418ae9e50729f09231b361ce4ddbf2ee0dc0cd5 /Makefile
parent0aa3068e9e0e9697131907c4bd20aa6ca0759978 (diff)
Fix tar target (--exclude-vcs is not supported everywhere, and reading . while writing to it can fail randomly)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index b629304e5..6cb763942 100644
--- a/Makefile
+++ b/Makefile
@@ -45,22 +45,16 @@ youtube-dl.bash-completion: youtube_dl/*.py devscripts/bash-completion.in
python devscripts/bash-completion.py
youtube-dl.tar.gz: all
- @tar -czf youtube-dl.tar.gz --transform "s|^./|./youtube-dl/|" --owner 0 --group 0 \
- --exclude-vcs \
+ @tar -czf youtube-dl.tar.gz --transform "s|^|youtube-dl/|" --owner 0 --group 0 \
--exclude '*.DS_Store' \
--exclude '*.kate-swp' \
--exclude '*.pyc' \
--exclude '*.pyo' \
--exclude '*~' \
--exclude '__pycache' \
- --exclude 'build' \
- --exclude 'cover' \
- --exclude '.coverage' \
- --exclude 'dist' \
- --exclude 'MANIFEST' \
- --exclude 'py2exe.log' \
- --exclude 'updates_key.pem' \
- --exclude 'wine-py2exe' \
- --exclude 'youtube-dl.exe' \
- --exclude 'youtube-dl.tar.gz' \
- -- .
+ --exclude '.git' \
+ -- \
+ bin devscripts test youtube_dl \
+ CHANGELOG LICENSE README.md README.txt \
+ MANIFEST.in youtube-dl.1 youtube-dl.bash-completion setup.py \
+ youtube-dl