summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorFilippo Valsorda <[email protected]>2012-12-07 14:46:14 +0100
committerFilippo Valsorda <[email protected]>2012-12-07 14:46:14 +0100
commit23109d6a9c7d8f2569a9adba517e90767e201bf4 (patch)
treed81a875a2d50eaecfc00b475aa266e3140149670 /Makefile
parent4bb028f48ecfcde1f4d2feafbc71fc8e346a7b99 (diff)
downloadyoutube-dl-23109d6a9c7d8f2569a9adba517e90767e201bf4.tar.gz
youtube-dl-23109d6a9c7d8f2569a9adba517e90767e201bf4.zip
youtube-dl.tar.gz make target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dbb315dc7..e152b00ac 100644
--- a/Makefile
+++ b/Makefile
@@ -42,3 +42,9 @@ youtube-dl.bash-completion: README.md youtube-dl.bash-completion.in
@options=`egrep -o '(--[a-z-]+) ' README.md | sort -u | xargs echo` && \
content=`sed "s/opts=\"[^\"]*\"/opts=\"$${options}\"/g" youtube-dl.bash-completion.in` && \
echo "$${content}" > youtube-dl.bash-completion
+
+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/" .