Selaa lähdekoodia

Automatically generate LATEST_VERSION (Closes #16)

Philipp Hagemeister 14 vuotta sitten
vanhempi
sitoutus
b576abb457
2 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 1 0
      LATEST_VERSION
  2. 4 2
      Makefile

+ 1 - 0
LATEST_VERSION

@@ -0,0 +1 @@
+2011.09.13

+ 4 - 2
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