Made minor build changes.

This commit is contained in:
Michael[tm] Smith 2012-03-01 18:17:51 +09:00
parent ccf2a6c7fe
commit 701a17400a
5 changed files with 10 additions and 10 deletions

View file

@ -4,8 +4,8 @@ GITFLAGS=
DOXYGEN=doxygen
DOXYGENFLAGS=
.PHONEY: api-docs src/version.h
all: README.md src/version.h bin/tidy quickref.html api-docs
.PHONEY: api-docs
all: README.md bin/tidy quickref.html
bin/tidy:
$(MAKE) -C build/gmake
@ -14,8 +14,10 @@ bin/tidy:
README.md: README.html
$(HTML2MARKDOWN) $(HTML2MARKDOWNFLAGS) $< > $@
src/version.h:
src/version.h: .FORCE
$(GIT) $(GITFLAGS) log --pretty=format:'static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/%h";' -n 1 > $@
.FORCE:
# dummy target to force the src/version.h file to always get remade
quickref.html: htmldoc/quickref.html
cp $< $@
@ -26,6 +28,8 @@ api-docs:
install:
sudo $(MAKE) install -C build/gmake
version: all src/version.h
clean:
$(MAKE) clean -C build/gmake
$(RM) README.md

View file

@ -38,8 +38,7 @@
<h2>HTML Tidy Configuration Options</h2>
<p><em>Generated automatically with HTML Tidy released
on <xsl:value-of select="config/@version" />.</em></p>
<p>Version: <a href="{config/@version}"><xsl:value-of select="config/@version" /></a></p>
<p><a class="h3" href="#MarkupHeader">HTML, XHTML, XML</a><br />
<a class="h3" href="#DiagnosticsHeader">Diagnostics</a><br />

View file

@ -8,10 +8,7 @@
<body>
<h1 id="top">Quick Reference</h1>
<h2>HTML Tidy Configuration Options</h2>
<p>
<em>Generated automatically with HTML Tidy released
on https://github.com/w3c/tidy-html5/tree/1c4d43a.</em>
</p>
<p>Version: <a href="https://github.com/w3c/tidy-html5/tree/ccf2a6c">https://github.com/w3c/tidy-html5/tree/ccf2a6c</a></p>
<p>
<a class="h3" href="#MarkupHeader">HTML, XHTML, XML</a>
<br />

View file

@ -1 +1 @@
static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/1c4d43a";
static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/ccf2a6c";