Browse Source

it's curious but bash-completion is with - and not _

master
Filippo Valsorda 12 years ago
parent
commit
4c1d273e88
3 changed files with 4 additions and 4 deletions
  1. 4
      Makefile
  2. 4
      devscripts/bash-completion.py
  3. 0
      devscripts/bash-completion.template

4
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/|" \

devscripts/bash_completion.py → 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 = []

devscripts/bash_completion.template → devscripts/bash-completion.template

Loading…
Cancel
Save