Added VERSION file.
This commit is contained in:
parent
35f2516a0b
commit
82bada2038
7
Makefile
7
Makefile
|
@ -1,6 +1,8 @@
|
|||
HTML2MARKDOWN=html2text
|
||||
GIT=git
|
||||
GITFLAGS=
|
||||
|
||||
all: bin/tidy README.md
|
||||
all: bin/tidy README.md VERSION
|
||||
|
||||
bin/tidy:
|
||||
$(MAKE) -C build/gmake
|
||||
|
@ -8,6 +10,9 @@ bin/tidy:
|
|||
README.md: README.html
|
||||
$(HTML2MARKDOWN) $(HTML2MARKDOWNFLAGS) $< > $@
|
||||
|
||||
VERSION:
|
||||
$(GIT) $(GITFLAGS) log --pretty=format:'https://github.com/w3c/tidy-html5/tree/%h' -n 1 > $@
|
||||
|
||||
install:
|
||||
sudo $(MAKE) install -C build/gmake
|
||||
|
||||
|
|
Loading…
Reference in a new issue