Add include dependencies to HTML targets
This commit is contained in:
parent
9a55571725
commit
704d27622b
7
Makefile
7
Makefile
@ -57,9 +57,6 @@ release: build/pugixml-$(VERSION).tar.gz build/pugixml-$(VERSION).zip
|
|||||||
|
|
||||||
docs: docs/quickstart.html docs/manual.html
|
docs: docs/quickstart.html docs/manual.html
|
||||||
|
|
||||||
docs/%.html: docs/%.adoc
|
|
||||||
asciidoctor -b html5 $< -o $@
|
|
||||||
|
|
||||||
build/pugixml-%: .FORCE | $(RELEASE)
|
build/pugixml-%: .FORCE | $(RELEASE)
|
||||||
perl tests/archive.pl $@ $|
|
perl tests/archive.pl $@ $|
|
||||||
|
|
||||||
@ -72,4 +69,8 @@ $(BUILD)/%.o: %
|
|||||||
|
|
||||||
-include $(OBJECTS:.o=.d)
|
-include $(OBJECTS:.o=.d)
|
||||||
|
|
||||||
|
.SECONDEXPANSION:
|
||||||
|
docs/%.html: docs/%.adoc $$(shell sed -n 's/include\:\:\(.*\)\[.*/docs\/\1/p' docs/%.adoc)
|
||||||
|
asciidoctor -b html5 $< -o $@
|
||||||
|
|
||||||
.PHONY: all test clean release .FORCE
|
.PHONY: all test clean release .FORCE
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user