rg3/youtube-dl — pull request #385 by FiloSottile (2012-08-01 18:15:49+00:00)
Title: Automation

* automatic generation of the **man page** from the README.md via `pandoc` (#151)
* automatic generation of the **bash-completion** script (only for the long options) (#191)
* **make release** target with all the checks (#158)
* pull request #381 - **make install** target (+ bash-completion and man page install)
* **make exe** target
* removed youtube-dl.dev (what was it needed for?)
* did some Makefile reorder, now the targets are `all update-latest readme man-page bash-completion compile exe install release`

The syntax of the release target is `make release version=2012.08.01` because it is difficult to check if the work dir is clean if you have to edit `__init__.py` to bump the version. So, what `make release` does is:
* check if version is already present
* check if `git status` is clean
* bump (`sed`) the version in `__init__.py`
* `make all`
* commit
* tag

Maybe we should make the Makefile targets a bit inter-dependent, because for example `update-latest readme man-page` and `bash-completion` need a `make compile` before. But since these are developer tools (excepting the simple `make install`), as long as we know this should not be a problem.