aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2012-12-07 11:39:08 +0100
committerFilippo Valsorda <filippo.valsorda@gmail.com>2012-12-07 11:39:08 +0100
commita5741a3f5e8f2f92951d3d32f0a1badb3028c32f (patch)
tree02b35237f053b40744a0298bdd9d0d7d449ee8c3 /Makefile
parent2f1765c4eaeeee58c1711aaf5757c1fb731c7f9b (diff)
pip installs fine!
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 470717a92..e126a9fa1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,4 @@
all: youtube-dl README.md README.txt youtube-dl.1 youtube-dl.bash-completion
-# TODO: re-add youtube-dl.exe, and make sure it's 1. safe and 2. doesn't need sudo
clean:
rm -rf youtube-dl youtube-dl.exe youtube-dl.1 youtube-dl.bash-completion README.txt MANIFEST build/ dist/
@@ -30,9 +29,6 @@ youtube-dl: youtube_dl/*.py
rm youtube-dl.zip
chmod a+x youtube-dl
-youtube-dl.exe: youtube_dl/*.py
- bash devscripts/wine-py2exe.sh build_exe.py
-
README.md: youtube_dl/*.py
@options=$$(COLUMNS=80 python -m youtube_dl --help | sed -e '1,/.*General Options.*/ d' -e 's/^\W\{2\}\(\w\)/## \1/') && \
header=$$(sed -e '/.*# OPTIONS/,$$ d' README.md) && \
@@ -46,10 +42,10 @@ README.md: youtube_dl/*.py
echo "$${footer}" >> README.md
README.txt: README.md
- pandoc -f markdown -t plain README.md -o README.txt
+ pandoc -s -f markdown -t plain README.md -o README.txt
youtube-dl.1: README.md
- pandoc -f markdown -t man README.md -o youtube-dl.1
+ pandoc -s -f markdown -t man README.md -o youtube-dl.1
youtube-dl.bash-completion: README.md youtube-dl.bash-completion.in
@options=`egrep -o '(--[a-z-]+) ' README.md | sort -u | xargs echo` && \