summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2015-02-03 00:14:42 +0100
committerPhilipp Hagemeister <[email protected]>2015-02-03 00:14:42 +0100
commitd200b11c7ea34138d9b8a778fd2dd9226308b48f (patch)
tree9b0ca8093c45804266d269ef677cd38ddf7e9650
parentd0eca21021b6321197caccab110de13843be6e04 (diff)
downloadyoutube-dl-d200b11c7ea34138d9b8a778fd2dd9226308b48f.tar.gz
youtube-dl-d200b11c7ea34138d9b8a778fd2dd9226308b48f.zip
[Makefile] Simplify clean/cleanall
-rw-r--r--Makefile5
-rwxr-xr-xdevscripts/release.sh2
2 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 578079879..0636fc4cb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,7 @@
all: youtube-dl README.md CONTRIBUTING.md README.txt youtube-dl.1 youtube-dl.bash-completion youtube-dl.zsh youtube-dl.fish supportedsites
clean:
- rm -rf youtube-dl.1.temp.md youtube-dl.1 youtube-dl.bash-completion README.txt MANIFEST build/ dist/ .coverage cover/ youtube-dl.tar.gz youtube-dl.zsh youtube-dl.fish *.dump *.part *.info.json CONTRIBUTING.md.tmp
-
-cleanall: clean
- rm -f youtube-dl youtube-dl.exe
+ rm -rf youtube-dl.1.temp.md youtube-dl.1 youtube-dl.bash-completion README.txt MANIFEST build/ dist/ .coverage cover/ youtube-dl.tar.gz youtube-dl.zsh youtube-dl.fish *.dump *.part *.info.json *.mp4 *.flv *.mp3 CONTRIBUTING.md.tmp youtube-dl youtube-dl.exe
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
diff --git a/devscripts/release.sh b/devscripts/release.sh
index 691517ceb..47f54c414 100755
--- a/devscripts/release.sh
+++ b/devscripts/release.sh
@@ -35,7 +35,7 @@ if [ ! -z "$useless_files" ]; then echo "ERROR: Non-.py files in youtube_dl: $us
if [ ! -f "updates_key.pem" ]; then echo 'ERROR: updates_key.pem missing'; exit 1; fi
/bin/echo -e "\n### First of all, testing..."
-make cleanall
+make clean
if $skip_tests ; then
echo 'SKIPPING TESTS'
else