|
|
@ -13,13 +13,13 @@ 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)
|
|
|
|
SYSCONFDIR=/etc
|
|
|
|
SYSCONFDIR=/etc
|
|
|
|
else
|
|
|
|
else
|
|
|
|
ifeq ($(PREFIX),/usr/local)
|
|
|
|
ifeq ($(PREFIX),/usr/local)
|
|
|
|
SYSCONFDIR=/etc
|
|
|
|
SYSCONFDIR=/etc
|
|
|
|
else
|
|
|
|
else
|
|
|
|
SYSCONFDIR=$(PREFIX)/etc
|
|
|
|
SYSCONFDIR=$(PREFIX)/etc
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
install: youtube-dl youtube-dl.1 youtube-dl.bash-completion
|
|
|
|
install: youtube-dl youtube-dl.1 youtube-dl.bash-completion
|
|
|
@ -71,7 +71,7 @@ youtube-dl.tar.gz: youtube-dl README.md README.txt youtube-dl.1 youtube-dl.bash-
|
|
|
|
--exclude '*~' \
|
|
|
|
--exclude '*~' \
|
|
|
|
--exclude '__pycache' \
|
|
|
|
--exclude '__pycache' \
|
|
|
|
--exclude '.git' \
|
|
|
|
--exclude '.git' \
|
|
|
|
--exclude 'testdata' \
|
|
|
|
--exclude 'testdata' \
|
|
|
|
-- \
|
|
|
|
-- \
|
|
|
|
bin devscripts test youtube_dl \
|
|
|
|
bin devscripts test youtube_dl \
|
|
|
|
CHANGELOG LICENSE README.md README.txt \
|
|
|
|
CHANGELOG LICENSE README.md README.txt \
|
|
|
|