DOCS = main part1 part2
all: $(patsubst %,%.html,$(DOCS))

part%.html: part%.txt
	asciidoc -f xhtml11-links.conf -a toc -b xhtml11 $<

%.html: %.txt
	asciidoc -a toc -b xhtml11 $<

