From 701a17400af211272bc8ff8f692c3ebbfa79f979 Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Thu, 1 Mar 2012 18:17:51 +0900 Subject: [PATCH] Made minor build changes. --- Makefile | 10 +++++++--- htmldoc/quickref-html.xsl | 3 +-- quickref.html | 5 +---- src/version.h | 2 +- htmldoc/tidy.css => tidy.css | 0 5 files changed, 10 insertions(+), 10 deletions(-) rename htmldoc/tidy.css => tidy.css (100%) diff --git a/Makefile b/Makefile index 93b4365..6219a3e 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/htmldoc/quickref-html.xsl b/htmldoc/quickref-html.xsl index f052132..1379262 100644 --- a/htmldoc/quickref-html.xsl +++ b/htmldoc/quickref-html.xsl @@ -38,8 +38,7 @@

HTML Tidy Configuration Options

-

Generated automatically with HTML Tidy released - on .

+

Version:

HTML, XHTML, XML
Diagnostics
diff --git a/quickref.html b/quickref.html index 6aa40aa..6c1b7e4 100644 --- a/quickref.html +++ b/quickref.html @@ -8,10 +8,7 @@

Quick Reference

HTML Tidy Configuration Options

-

- Generated automatically with HTML Tidy released - on https://github.com/w3c/tidy-html5/tree/1c4d43a. -

+

Version: https://github.com/w3c/tidy-html5/tree/ccf2a6c

HTML, XHTML, XML
diff --git a/src/version.h b/src/version.h index 7761732..12debe7 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/1c4d43a"; \ No newline at end of file +static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/ccf2a6c"; \ No newline at end of file diff --git a/htmldoc/tidy.css b/tidy.css similarity index 100% rename from htmldoc/tidy.css rename to tidy.css