Skip to content

Commit 40f486c

Browse files
Force-remake of the README.md file.
1 parent f2825b9 commit 40f486c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Makefile

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@ DOXYGEN=doxygen
55
DOXYGENFLAGS=
66

77
.PHONEY: api-docs
8-
all: README.md bin/tidy quickref.html
8+
all: bin/tidy quickref.html
99

1010
bin/tidy:
1111
$(MAKE) -C build/gmake
1212
$(MAKE) -C build/gmake doc
1313

14-
README.md: README.html
14+
.FORCE:
15+
# dummy target to force other targets to always get remade
16+
17+
README.md: README.html .FORCE
1518
$(HTML2MARKDOWN) $(HTML2MARKDOWNFLAGS) $< > $@
1619

1720
src/version.h: .FORCE
1821
$(GIT) $(GITFLAGS) log --pretty=format:'static const char TY_(release_date)[] = "https://github.com/w3c/tidy-html5/tree/%h";' -n 1 > $@
19-
.FORCE:
20-
# dummy target to force the src/version.h file to always get remade
2122

2223
quickref.html: htmldoc/quickref.html
2324
cp $< $@
@@ -28,10 +29,9 @@ api-docs:
2829
install:
2930
sudo $(MAKE) install -C build/gmake
3031

31-
version: all src/version.h
32+
version: all src/version.h README.md
3233

3334
clean:
3435
$(MAKE) clean -C build/gmake
35-
$(RM) README.md
3636
$(RM) test/testall.log
3737
$(RM) -r test/tmp

src/version.h

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

0 commit comments

Comments
 (0)