mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-30 15:14:14 +01:00
23 lines
430 B
Makefile
23 lines
430 B
Makefile
all: svtplay-dl
|
|
|
|
clean:
|
|
rm -f svtplay-dl
|
|
|
|
PREFIX?=/usr/local
|
|
BINDIR=$(PREFIX)/bin
|
|
PYTHON=/usr/bin/env python
|
|
|
|
install: svtplay-dl
|
|
install -d $(DESTDIR)$(BINDIR)
|
|
install -m 755 svtplay-dl $(DESTDIR)$(BINDIR)
|
|
|
|
svtplay-dl: lib/svtplay_dl/*py lib/svtplay_dl/fetcher/*py lib/svtplay_dl/service/*py
|
|
cd lib; $(MAKE)
|
|
mv lib/svtplay-dl .
|
|
|
|
test:
|
|
sh run-tests.sh
|
|
|
|
pylint:
|
|
find lib -name '*.py' -a '!' -path '*/tests/*' | xargs pylint
|