projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
225dceb
)
add PREFIX option to make install
author
Filippo Valsorda
<filosottile.wiki@gmail.com>
Tue, 25 Sep 2012 22:10:39 +0000
(
00:10
+0200)
committer
Filippo Valsorda
<filosottile.wiki@gmail.com>
Tue, 25 Sep 2012 22:10:39 +0000
(
00:10
+0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index c167d01c43fbdc75b68fa95c767d33532e6cc806..21b34690523cd13e0e5eac6192135659faf92008 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,8
+1,9
@@
all: youtube-dl youtube-dl.exe README.md youtube-dl.1 youtube-dl.bash-completion LATEST_VERSION
all: youtube-dl youtube-dl.exe README.md youtube-dl.1 youtube-dl.bash-completion LATEST_VERSION
+PREFIX=/usr/local
install: youtube-dl youtube-dl.1 youtube-dl.bash-completion
install: youtube-dl youtube-dl.1 youtube-dl.bash-completion
- install -m 755 --owner root --group root youtube-dl
/usr/local
/bin/
- install -m 644 --owner root --group root youtube-dl.1
/usr/local
/man/man1
+ install -m 755 --owner root --group root youtube-dl
$(PREFIX)
/bin/
+ install -m 644 --owner root --group root youtube-dl.1
$(PREFIX)
/man/man1
install -m 644 --owner root --group root youtube-dl.bash-completion /etc/bash_completion.d/youtube-dl
.PHONY: all install
install -m 644 --owner root --group root youtube-dl.bash-completion /etc/bash_completion.d/youtube-dl
.PHONY: all install