Made minor build changes.
This commit is contained in:
parent
ccf2a6c7fe
commit
701a17400a
10
Makefile
10
Makefile
|
@ -4,8 +4,8 @@ GITFLAGS=
|
||||||
DOXYGEN=doxygen
|
DOXYGEN=doxygen
|
||||||
DOXYGENFLAGS=
|
DOXYGENFLAGS=
|
||||||
|
|
||||||
.PHONEY: api-docs src/version.h
|
.PHONEY: api-docs
|
||||||
all: README.md src/version.h bin/tidy quickref.html api-docs
|
all: README.md bin/tidy quickref.html
|
||||||
|
|
||||||
bin/tidy:
|
bin/tidy:
|
||||||
$(MAKE) -C build/gmake
|
$(MAKE) -C build/gmake
|
||||||
|
@ -14,8 +14,10 @@ bin/tidy:
|
||||||
README.md: README.html
|
README.md: README.html
|
||||||
$(HTML2MARKDOWN) $(HTML2MARKDOWNFLAGS) $< > $@
|
$(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 > $@
|
$(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
|
quickref.html: htmldoc/quickref.html
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
@ -26,6 +28,8 @@ api-docs:
|
||||||
install:
|
install:
|
||||||
sudo $(MAKE) install -C build/gmake
|
sudo $(MAKE) install -C build/gmake
|
||||||
|
|
||||||
|
version: all src/version.h
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) clean -C build/gmake
|
$(MAKE) clean -C build/gmake
|
||||||
$(RM) README.md
|
$(RM) README.md
|
||||||
|
|
|
@ -38,8 +38,7 @@
|
||||||
|
|
||||||
<h2>HTML Tidy Configuration Options</h2>
|
<h2>HTML Tidy Configuration Options</h2>
|
||||||
|
|
||||||
<p><em>Generated automatically with HTML Tidy released
|
<p>Version: <a href="{config/@version}"><xsl:value-of select="config/@version" /></a></p>
|
||||||
on <xsl:value-of select="config/@version" />.</em></p>
|
|
||||||
|
|
||||||
<p><a class="h3" href="#MarkupHeader">HTML, XHTML, XML</a><br />
|
<p><a class="h3" href="#MarkupHeader">HTML, XHTML, XML</a><br />
|
||||||
<a class="h3" href="#DiagnosticsHeader">Diagnostics</a><br />
|
<a class="h3" href="#DiagnosticsHeader">Diagnostics</a><br />
|
||||||
|
|
|
@ -8,10 +8,7 @@
|
||||||
<body>
|
<body>
|
||||||
<h1 id="top">Quick Reference</h1>
|
<h1 id="top">Quick Reference</h1>
|
||||||
<h2>HTML Tidy Configuration Options</h2>
|
<h2>HTML Tidy Configuration Options</h2>
|
||||||
<p>
|
<p>Version: <a href="https://github.com/w3c/tidy-html5/tree/ccf2a6c">https://github.com/w3c/tidy-html5/tree/ccf2a6c</a></p>
|
||||||
<em>Generated automatically with HTML Tidy released
|
|
||||||
on https://github.com/w3c/tidy-html5/tree/1c4d43a.</em>
|
|
||||||
</p>
|
|
||||||
<p>
|
<p>
|
||||||
<a class="h3" href="#MarkupHeader">HTML, XHTML, XML</a>
|
<a class="h3" href="#MarkupHeader">HTML, XHTML, XML</a>
|
||||||
<br />
|
<br />
|
||||||
|
|
|
@ -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";
|
Loading…
Reference in a new issue