1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

make: Make shebang line overrideable

This commit is contained in:
Olof Johansson 2014-02-02 15:10:17 +01:00
parent 1a329ecae7
commit d4b03b53af
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ MANFILE = svtplay-dl.1$(MANFILE_EXT)
POD2MAN ?= pod2man --section 1 --utf8 -c "svtplay-dl manual" \ POD2MAN ?= pod2man --section 1 --utf8 -c "svtplay-dl manual" \
-r "svtplay-dl $(VERSION)" -r "svtplay-dl $(VERSION)"
PYTHON = /usr/bin/env python PYTHON ?= /usr/bin/env python
export PYTHONPATH=lib export PYTHONPATH=lib
# Disable convention, refactor, and TODO warnings # Disable convention, refactor, and TODO warnings

View File

@ -10,7 +10,7 @@ export PACKAGES = svtplay_dl \
svtplay_dl.service svtplay_dl.service
export PYFILES = $(addsuffix /*.py,$(subst .,/,$(PACKAGES))) export PYFILES = $(addsuffix /*.py,$(subst .,/,$(PACKAGES)))
PYTHON = /usr/bin/env python PYTHON ?= /usr/bin/env python
svtplay-dl: $(PYFILES) svtplay-dl: $(PYFILES)
zip --quiet svtplay-dl $(PYFILES) zip --quiet svtplay-dl $(PYFILES)