1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 15:57:23 +00:00

add PREFIX option to make install

This commit is contained in:
Filippo Valsorda 2012-09-26 00:10:39 +02:00
parent 225dceb046
commit 0e841bdc54

View file

@ -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 755 --owner root --group root youtube-dl $(PREFIX)/bin/
install -m 644 --owner root --group root youtube-dl.1 /usr/local/man/man1 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 install -m 644 --owner root --group root youtube-dl.bash-completion /etc/bash_completion.d/youtube-dl
.PHONY: all install .PHONY: all install