-youtube-dl.tar.gz: all
- tar -czf youtube-dl.tar.gz -s "|^./|./youtube-dl/|" \
- --exclude="*.pyc" --exclude="*.pyo" --exclude="*~" --exclude="youtube-dl.exe" \
- --exclude="wine-py2exe/" --exclude="py2exe.log" --exclude="*.kate-swp" \
- --exclude="build/" --exclude="dist/" --exclude="MANIFEST" --exclude=".git/" .
+bash-completion: youtube-dl.bash-completion
+
+youtube-dl.tar.gz: youtube-dl README.md README.txt youtube-dl.1 youtube-dl.bash-completion
+ @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 '.git' \
+ --exclude 'testdata' \
+ -- \
+ bin devscripts test youtube_dl \
+ CHANGELOG LICENSE README.md README.txt \
+ Makefile MANIFEST.in youtube-dl.1 youtube-dl.bash-completion setup.py \
+ youtube-dl