]> jfr.im git - yt-dlp.git/blobdiff - Makefile
Added `--force-overwrites` option (https://github.com/ytdl-org/youtube-dl/pull/20405)
[yt-dlp.git] / Makefile
index 9588657c15b0360f258a807f767ce22981218230..357e53fdbf0d15172c7f06247a55a545ada8bc8c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
-all: youtube-dlc README.md CONTRIBUTING.md README.txt youtube-dlc.1 youtube-dlc.bash-completion youtube-dlc.zsh youtube-dlc.fish supportedsites
+all: youtube-dlc README.md CONTRIBUTING.md README.txt issuetemplates youtube-dlc.1 youtube-dlc.bash-completion youtube-dlc.zsh youtube-dlc.fish supportedsites
+doc: README.md CONTRIBUTING.md issuetemplates supportedsites
 
 clean:
        rm -rf youtube-dlc.1.temp.md youtube-dlc.1 youtube-dlc.bash-completion README.txt MANIFEST build/ dist/ .coverage cover/ youtube-dlc.tar.gz youtube-dlc.zsh youtube-dlc.fish youtube_dlc/extractor/lazy_extractors.py *.dump *.part* *.ytdl *.info.json *.mp4 *.m4a *.flv *.mp3 *.avi *.mkv *.webm *.3gp *.wav *.ape *.swf *.jpg *.png CONTRIBUTING.md.tmp youtube-dlc youtube-dlc.exe
@@ -9,7 +10,8 @@ PREFIX ?= /usr/local
 BINDIR ?= $(PREFIX)/bin
 MANDIR ?= $(PREFIX)/man
 SHAREDIR ?= $(PREFIX)/share
-PYTHON ?= /usr/bin/env python
+# make_supportedsites.py doesnot work correctly in python2
+PYTHON ?= /usr/bin/env python3
 
 # set SYSCONFDIR to /etc if PREFIX=/usr or PREFIX=/usr/local
 SYSCONFDIR = $(shell if [ $(PREFIX) = /usr -o $(PREFIX) = /usr/local ]; then echo /etc; else echo $(PREFIX)/etc; fi)
@@ -45,11 +47,13 @@ offlinetest: codetest
                --exclude test_age_restriction.py \
                --exclude test_download.py \
                --exclude test_iqiyi_sdk_interpreter.py \
+               --exclude test_overwrites.py \
                --exclude test_socks.py \
                --exclude test_subtitles.py \
                --exclude test_write_annotations.py \
                --exclude test_youtube_lists.py \
-               --exclude test_youtube_signature.py
+               --exclude test_youtube_signature.py \
+               --exclude test_post_hooks.py
 
 tar: youtube-dlc.tar.gz