aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2012-12-08 00:37:26 +0100
committerFilippo Valsorda <filippo.valsorda@gmail.com>2012-12-08 00:37:26 +0100
commit4c1d273e88a88f7a7b9e09bb2bbadb161d25b615 (patch)
tree71fc9e864d9f75dfadd8844ba35ae1178a5fd15a
parenta9d2f7e8945abfb792b76ba551f568d3580c30a6 (diff)
it's curious but bash-completion is with - and not _
-rw-r--r--Makefile4
-rw-r--r--devscripts/bash-completion.py (renamed from devscripts/bash_completion.py)4
-rw-r--r--devscripts/bash-completion.template (renamed from devscripts/bash_completion.template)0
3 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 119c1eeaa..c97d6ffb0 100644
--- 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/|" \
diff --git a/devscripts/bash_completion.py b/devscripts/bash-completion.py
index 704034f22..880db7886 100644
--- a/devscripts/bash_completion.py
+++ b/devscripts/bash-completion.py
@@ -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 = []
diff --git a/devscripts/bash_completion.template b/devscripts/bash-completion.template
index 3b99a9614..3b99a9614 100644
--- a/devscripts/bash_completion.template
+++ b/devscripts/bash-completion.template