diff options
author | Jaime Marquínez Ferrándiz <[email protected]> | 2013-01-25 15:11:03 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <[email protected]> | 2013-01-25 15:11:03 +0100 |
commit | 271d3fbdaa92e1db51b704c123d5526cea67e5e3 (patch) | |
tree | 4825a2f20beb18621bd13ef60531b69bf2864aab /Makefile | |
parent | 6df40dcbe0a0d6889fffbdc1dd7bf14452d3a605 (diff) | |
download | youtube-dl-271d3fbdaa92e1db51b704c123d5526cea67e5e3.tar.gz youtube-dl-271d3fbdaa92e1db51b704c123d5526cea67e5e3.zip |
Option in makefile to select python interpreter
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,6 +7,7 @@ PREFIX=/usr/local BINDIR=$(PREFIX)/bin MANDIR=$(PREFIX)/man SYSCONFDIR=/etc +PYTHON=/usr/bin/env python install: youtube-dl youtube-dl.1 youtube-dl.bash-completion install -d $(DESTDIR)$(BINDIR) @@ -27,7 +28,7 @@ tar: youtube-dl.tar.gz youtube-dl: youtube_dl/*.py zip --quiet youtube-dl youtube_dl/*.py zip --quiet --junk-paths youtube-dl youtube_dl/__main__.py - echo '#!/usr/bin/env python' > youtube-dl + echo '#! $(PYTHON)' > youtube-dl cat youtube-dl.zip >> youtube-dl rm youtube-dl.zip chmod a+x youtube-dl |