KDE_DOCS = kkbswitch
KDE_LANG = en

.PHONY: html

html: HTML/index.html

HTML/index.html: $(srcdir)/index.docbook
	rm -fr HTML
	mkdir HTML
	(cd HTML && meinproc --check --stylesheet $(KDE_XSL_STYLESHEET) ../$(srcdir)/index.docbook && ln -s /usr/share/doc/HTML/en/common; \
  for name in ../$(srcdir)/*.png; do ln -s $$name; done)