From b576abb4572c61289269db61da8c472d487a7a03 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Tue, 13 Sep 2011 22:29:50 +0200 Subject: [PATCH] Automatically generate LATEST_VERSION (Closes #16) --- LATEST_VERSION | 1 + Makefile | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 LATEST_VERSION diff --git a/LATEST_VERSION b/LATEST_VERSION new file mode 100644 index 000000000..afa0b7718 --- /dev/null +++ b/LATEST_VERSION @@ -0,0 +1 @@ +2011.09.13 diff --git a/Makefile b/Makefile index 0039f90c9..e725dc720 100644 --- a/Makefile +++ b/Makefile @@ -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/') && \ @@ -15,4 +17,4 @@ update-readme: -.PHONY: default update update-readme +.PHONY: default update update-latest update-readme -- 2.40.0