Skip to content

Commit

Permalink
Automatically generate LATEST_VERSION (Closes #16)
Browse files Browse the repository at this point in the history
  • Loading branch information
phihag committed Sep 13, 2011
1 parent f166bcc commit b576abb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions LATEST_VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2011.09.13
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
default: update

update: update-readme
update: update-readme update-latest

update-latest:
./youtube-dl --version > LATEST_VERSION

update-readme:
@options=$$(COLUMNS=80 ./youtube-dl --help | sed -e '1,/.*General Options.*/ d' -e 's/^\W\{2\}\(\w\)/### \1/') && \
Expand All @@ -15,4 +17,4 @@ update-readme:



.PHONY: default update update-readme
.PHONY: default update update-latest update-readme

0 comments on commit b576abb

Please sign in to comment.