parse-xml: LDFLAGS := $(shell pkg-config --libs libxml-2.0) $(LDFLAGS)
dump2.o: CFLAGS := $(base_cflags) -Wno-unused
-all: dump dump2 parse-xml
-dump: dump.o
+all: dump dump2 parse-xml spv-file-format.text spv-detail.pdf
+dump: dump.o u8-mbtouc.o
dump2: dump2.o u8-mbtouc.o
parse-xml: parse-xml.o
+spv-file-format.text: spv-file-format.texi
+ makeinfo --force --plaintext -o $@ $<
+spv-detail.pdf: spv-detail.gv
+ dot -T pdf -o$@ $<