projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
664718f
)
envvar overrideable PREFIX, BINDIR, MANDIR, PYTHON
author
rubicks
<rubicks00@gmail.com>
Thu, 14 Aug 2014 15:01:23 +0000
(11:01 -0400)
committer
rubicks
<rubicks00@gmail.com>
Thu, 14 Aug 2014 15:01:23 +0000
(11:01 -0400)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index c079761efa9b2e60887575f4cd7626d0abe469a2..088a9320bddfd367babd928bc96c71f3eaa4d9de 100644
(file)
--- 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)