From: rubicks Date: Thu, 14 Aug 2014 15:01:23 +0000 (-0400) Subject: envvar overrideable PREFIX, BINDIR, MANDIR, PYTHON X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=df866e7f2a536e2675af2956b1cff61ea29e145f;p=youtube-dl envvar overrideable PREFIX, BINDIR, MANDIR, PYTHON --- 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)