tidy-html5/Makefile

22 lines
388 B
Makefile
Raw Normal View History

2011-11-17 03:16:11 +00:00
HTML2MARKDOWN=html2text
2012-02-28 16:36:29 +00:00
GIT=git
GITFLAGS=
2011-11-17 03:16:11 +00:00
2012-02-28 16:36:29 +00:00
all: bin/tidy README.md VERSION
2011-11-20 10:42:28 +00:00
bin/tidy:
$(MAKE) -C build/gmake
2011-11-17 03:16:11 +00:00
README.md: README.html
$(HTML2MARKDOWN) $(HTML2MARKDOWNFLAGS) $< > $@
2012-02-28 16:36:29 +00:00
VERSION:
$(GIT) $(GITFLAGS) log --pretty=format:'https://github.com/w3c/tidy-html5/tree/%h' -n 1 > $@
2011-11-20 10:42:28 +00:00
install:
sudo $(MAKE) install -C build/gmake
2011-11-17 03:16:11 +00:00
clean:
2011-11-20 10:42:28 +00:00
$(MAKE) clean -C build/gmake
2011-11-17 03:16:11 +00:00
$(RM) README.md