Force-remake of the README.md file.
This commit is contained in:
parent
f2825b9645
commit
40f486ce5a
12
Makefile
12
Makefile
|
@ -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
|
||||||
|
|
|
@ -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";
|
Loading…
Reference in a new issue