-.PHONY: texinfo-distclean textmp-clean
+.PHONY: texinfo-distclean texinfo-clean texinfo-textmp-clean
-CP ?= cp
+CP := cp
DVIPDFMX := dvipdfmx
INSTALL-INFO := install-info
MKDIR := mkdir
%.txt: %.texi
$(MAKEINFO) --no-headers --disable-encoding -o $@ $<
-texinfo-distclean: textmp-clean
+%.xml: %.texi
+ @$(MAKEINFO) --docbook -o $@ $<
+
+texinfo-distclean: texinfo-clean
@$(RMR) *_html *.info *.html *.pdf *.dvi *.txt
-texinfo-clean: textmp-clean
+texinfo-clean: texinfo-textmp-clean
-textmp-clean:
+texinfo-textmp-clean:
@$(RM) *.aux *.cp *.cps *.fn *.ky *.log *.pg *.pgs *.tmp *.toc *.tp *.vr