Allan Odgaard 7a4e8d91d2 Install bash completion into share/bash-completion/completions
Starting with bash-completion 1.90 (released in November 2011) completion files should be installed in the share/ directory.

They must use the executable’s name for loading on demand, so for this reason, it was necessary to generate the completion file in a new directory, so that it does not clash with the `youtube-dl` executable.

This is because Python’s setup-tools does not support data files to be installed with a different base name.

I have tested this change with both `make install` and `pip install`, as these two install procedures have slightly different code paths.

I removed the `bash-completion` (phony) target from the make file, as we now have a directory with that name, and I could not see the target being referenced anywhere.

Closes #804.
2019-09-10 10:55:06 +02:00
..
2019-03-11 04:00:54 +07:00
2019-03-11 04:00:54 +07:00
2018-01-02 21:13:41 +07:00
2016-10-03 23:44:29 +07:00
2019-04-27 04:50:47 +07:00
2014-10-07 13:19:59 +08:00