envvar overrideable PREFIX, BINDIR, MANDIR, PYTHON

pull/3516/head
rubicks 11 years ago
parent 664718ff63
commit df866e7f2a
No known key found for this signature in database
GPG Key ID: 6549ED02A5240B46

@ -6,10 +6,10 @@ clean:
cleanall: clean cleanall: clean
rm -f youtube-dl youtube-dl.exe rm -f youtube-dl youtube-dl.exe
PREFIX=/usr/local PREFIX ?= /usr/local
BINDIR=$(PREFIX)/bin BINDIR ?= $(PREFIX)/bin
MANDIR=$(PREFIX)/man MANDIR ?= $(PREFIX)/man
PYTHON=/usr/bin/env python PYTHON ?= /usr/bin/env python
# set SYSCONFDIR to /etc if PREFIX=/usr or PREFIX=/usr/local # set SYSCONFDIR to /etc if PREFIX=/usr or PREFIX=/usr/local
ifeq ($(PREFIX),/usr) ifeq ($(PREFIX),/usr)

Loading…
Cancel
Save