Permalink
Browse files

Made minor build changes.

  • Loading branch information...
1 parent ccf2a6c commit 701a17400af211272bc8ff8f692c3ebbfa79f979 @sideshowbarker sideshowbarker committed Mar 1, 2012
Showing with 10 additions and 10 deletions.
  1. +7 −3 Makefile
  2. +1 −2 htmldoc/quickref-html.xsl
  3. +1 −4 quickref.html
  4. +1 −1 src/version.h
  5. 0 {htmldoc → }/tidy.css
View
@@ -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
@@ -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
@@ -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
@@ -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";
File renamed without changes.

0 comments on commit 701a174

Please sign in to comment.