aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsatan1st <satan1st@users.noreply.github.com>2022-09-01 13:16:17 +0200
committerGitHub <noreply@github.com>2022-09-01 16:46:17 +0530
commit50a399326fa82e2e5fe3f2829da5a31407adafaa (patch)
tree9155e41470fb8389b6c477351050feb471d2c8b8
parent1ff88b7aec76bc8396c58f4757e2c08b20e5533e (diff)
downloadhypervideo-pre-50a399326fa82e2e5fe3f2829da5a31407adafaa.tar.lz
hypervideo-pre-50a399326fa82e2e5fe3f2829da5a31407adafaa.tar.xz
hypervideo-pre-50a399326fa82e2e5fe3f2829da5a31407adafaa.zip
[build] `make tar' should not follow `DESTDIR` (#4790)
Ref: https://www.gnu.org/prep/standards/html_node/DESTDIR.html Authored by: satan1st
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d6a00d332..6cb9e2f57 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,6 @@ completion-zsh: completions/zsh/_yt-dlp
lazy-extractors: yt_dlp/extractor/lazy_extractors.py
PREFIX ?= /usr/local
-DESTDIR ?= .
BINDIR ?= $(PREFIX)/bin
MANDIR ?= $(PREFIX)/man
SHAREDIR ?= $(PREFIX)/share
@@ -134,7 +133,7 @@ yt_dlp/extractor/lazy_extractors.py: devscripts/make_lazy_extractors.py devscrip
$(PYTHON) devscripts/make_lazy_extractors.py $@
yt-dlp.tar.gz: all
- @tar -czf $(DESTDIR)/yt-dlp.tar.gz --transform "s|^|yt-dlp/|" --owner 0 --group 0 \
+ @tar -czf yt-dlp.tar.gz --transform "s|^|yt-dlp/|" --owner 0 --group 0 \
--exclude '*.DS_Store' \
--exclude '*.kate-swp' \
--exclude '*.pyc' \