mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-23 19:55:38 +01:00
make: Make shebang line overrideable
This commit is contained in:
parent
1a329ecae7
commit
d4b03b53af
2
Makefile
2
Makefile
@ -19,7 +19,7 @@ MANFILE = svtplay-dl.1$(MANFILE_EXT)
|
||||
POD2MAN ?= pod2man --section 1 --utf8 -c "svtplay-dl manual" \
|
||||
-r "svtplay-dl $(VERSION)"
|
||||
|
||||
PYTHON = /usr/bin/env python
|
||||
PYTHON ?= /usr/bin/env python
|
||||
export PYTHONPATH=lib
|
||||
|
||||
# Disable convention, refactor, and TODO warnings
|
||||
|
@ -10,7 +10,7 @@ export PACKAGES = svtplay_dl \
|
||||
svtplay_dl.service
|
||||
export PYFILES = $(addsuffix /*.py,$(subst .,/,$(PACKAGES)))
|
||||
|
||||
PYTHON = /usr/bin/env python
|
||||
PYTHON ?= /usr/bin/env python
|
||||
|
||||
svtplay-dl: $(PYFILES)
|
||||
zip --quiet svtplay-dl $(PYFILES)
|
||||
|
Loading…
Reference in New Issue
Block a user