projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df40dc
)
Option in makefile to select python interpreter
author
Jaime Marquínez Ferrándiz
<jaimemf93@gmail.com>
Fri, 25 Jan 2013 14:11:03 +0000
(15:11 +0100)
committer
Jaime Marquínez Ferrándiz
<jaimemf93@gmail.com>
Fri, 25 Jan 2013 14:11:03 +0000
(15:11 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index b47433573a74eac3eae4171d66f6144e1d83b2a8..7aae2c3099fb321644b03013519216df0b346362 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-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