Browse Source
envvar overrideable PREFIX, BINDIR, MANDIR, PYTHON
master
rubicks
10 years ago
No known key found for this signature in database
GPG Key ID: 6549ED02A5240B46
1 changed files with
4 additions and
4 deletions
-
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) |
|
|
|