]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
it's curious but bash-completion is with - and not _
authorFilippo Valsorda <filippo.valsorda@gmail.com>
Fri, 7 Dec 2012 23:37:26 +0000 (00:37 +0100)
committerFilippo Valsorda <filippo.valsorda@gmail.com>
Fri, 7 Dec 2012 23:37:26 +0000 (00:37 +0100)
Makefile
devscripts/bash-completion.py [moved from devscripts/bash_completion.py with 85% similarity]
devscripts/bash-completion.template [moved from devscripts/bash_completion.template with 100% similarity]

index 119c1eeaa08fa2eaaf1e626a5b0860e299f0afd2..c97d6ffb005d9561dc2fede6f613d026d9c0924e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -38,8 +38,8 @@ README.txt: README.md
 youtube-dl.1: README.md
        pandoc -s -f markdown -t man README.md -o youtube-dl.1
 
-youtube-dl.bash-completion: README.md devscripts/bash_completion.template
-       python devscripts/bash_completion.py
+youtube-dl.bash-completion: youtube_dl/*.py devscripts/bash-completion.template
+       python devscripts/bash-completion.py
 
 youtube-dl.tar.gz: all
        tar -czf youtube-dl.tar.gz -s "|^./|./youtube-dl/|" \
similarity index 85%
rename from devscripts/bash_completion.py
rename to devscripts/bash-completion.py
index 704034f2233a067b525dbf40dd2b85e0278dbf46..880db7886341ddaec748d4980b19413ff7b9e724 100644 (file)
@@ -6,8 +6,8 @@ import sys
 sys.path.append(dirn(dirn((os.path.abspath(__file__)))))
 import youtube_dl
 
-BASH_COMPLETION_FILE = "youtube-dl.bash_completion"
-BASH_COMPLETION_TEMPLATE = "devscripts/bash_completion.template"
+BASH_COMPLETION_FILE = "youtube-dl.bash-completion"
+BASH_COMPLETION_TEMPLATE = "devscripts/bash-completion.template"
 
 def build_completion(opt_parser):
     opts_flag = []