diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-01-27 03:06:32 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-01-27 03:06:32 +0100 |
commit | 811d253bc2e489e3c05632f04eedb7bc201b88ff (patch) | |
tree | d1fb32ef801ef72f6240d3a75585c93540493758 | |
parent | c3a1642eade3233a36aae48ff8b27a91027c1c40 (diff) | |
parent | 271d3fbdaa92e1db51b704c123d5526cea67e5e3 (diff) |
Merge remote-tracking branch 'jaimeMF/makefilePythonversion'
-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 |