aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorrubicks <[email protected]>2014-08-14 11:01:23 -0400
committerrubicks <[email protected]>2014-08-14 11:01:23 -0400
commitdf866e7f2a536e2675af2956b1cff61ea29e145f (patch)
tree785b8f4e307eb46e3f4aa452ab4cc3466ad18a77
parent664718ff63bd8c61380486ce8f1dc96651bbd2e1 (diff)
downloadyoutube-dl-df866e7f2a536e2675af2956b1cff61ea29e145f.tar.gz
youtube-dl-df866e7f2a536e2675af2956b1cff61ea29e145f.zip
envvar overrideable PREFIX, BINDIR, MANDIR, PYTHON
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c079761ef..088a9320b 100644
--- a/Makefile
+++ b/Makefile
@@ -6,10 +6,10 @@ clean:
cleanall: clean
rm -f youtube-dl youtube-dl.exe
-PREFIX=/usr/local
-BINDIR=$(PREFIX)/bin
-MANDIR=$(PREFIX)/man
-PYTHON=/usr/bin/env python
+PREFIX ?= /usr/local
+BINDIR ?= $(PREFIX)/bin
+MANDIR ?= $(PREFIX)/man
+PYTHON ?= /usr/bin/env python
# set SYSCONFDIR to /etc if PREFIX=/usr or PREFIX=/usr/local
ifeq ($(PREFIX),/usr)