summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2011-09-13 22:29:50 +0200
committerPhilipp Hagemeister <[email protected]>2011-09-13 22:29:50 +0200
commitb576abb4572c61289269db61da8c472d487a7a03 (patch)
tree8279d20146219f7773422070e4cf6ebf3f3c5b6e /Makefile
parentf166bccc8f4366531783d0e0c4c1eb3a585cdfb0 (diff)
downloadyoutube-dl-b576abb4572c61289269db61da8c472d487a7a03.tar.gz
youtube-dl-b576abb4572c61289269db61da8c472d487a7a03.zip
Automatically generate LATEST_VERSION (Closes #16)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
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