mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-21 13:32:55 +08:00
youtube-dl.tar.gz make target
This commit is contained in:
parent
4bb028f48e
commit
23109d6a9c
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@ youtube-dl.1
|
|||||||
youtube-dl.bash-completion
|
youtube-dl.bash-completion
|
||||||
youtube-dl
|
youtube-dl
|
||||||
youtube-dl.exe
|
youtube-dl.exe
|
||||||
|
youtube-dl.tar.gz
|
||||||
|
6
Makefile
6
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` && \
|
@options=`egrep -o '(--[a-z-]+) ' README.md | sort -u | xargs echo` && \
|
||||||
content=`sed "s/opts=\"[^\"]*\"/opts=\"$${options}\"/g" youtube-dl.bash-completion.in` && \
|
content=`sed "s/opts=\"[^\"]*\"/opts=\"$${options}\"/g" youtube-dl.bash-completion.in` && \
|
||||||
echo "$${content}" > youtube-dl.bash-completion
|
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/" .
|
||||||
|
Loading…
Reference in New Issue
Block a user