Force-remake of the README.md file.

This commit is contained in:
Michael[tm] Smith 2012-03-01 23:00:01 +09:00
parent f2825b9645
commit 40f486ce5a
2 changed files with 7 additions and 7 deletions

View file

@ -5,19 +5,20 @@ DOXYGEN=doxygen
DOXYGENFLAGS= DOXYGENFLAGS=
.PHONEY: api-docs .PHONEY: api-docs
all: README.md bin/tidy quickref.html all: bin/tidy quickref.html
bin/tidy: bin/tidy:
$(MAKE) -C build/gmake $(MAKE) -C build/gmake
$(MAKE) -C build/gmake doc $(MAKE) -C build/gmake doc
README.md: README.html .FORCE:
# dummy target to force other targets to always get remade
README.md: README.html .FORCE
$(HTML2MARKDOWN) $(HTML2MARKDOWNFLAGS) $< > $@ $(HTML2MARKDOWN) $(HTML2MARKDOWNFLAGS) $< > $@
src/version.h: .FORCE 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 $< $@
@ -28,10 +29,9 @@ api-docs:
install: install:
sudo $(MAKE) install -C build/gmake sudo $(MAKE) install -C build/gmake
version: all src/version.h version: all src/version.h README.md
clean: clean:
$(MAKE) clean -C build/gmake $(MAKE) clean -C build/gmake
$(RM) README.md
$(RM) test/testall.log $(RM) test/testall.log
$(RM) -r test/tmp $(RM) -r test/tmp

View file

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