diff --git a/doc/Makefile.am b/doc/Makefile.am
index 411115c..23a795e 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,58 +1,6 @@
-####### tdevelop will overwrite this part!!! (begin)##########
+# the SUBDIRS is filled automatically by am_edit. If files are
+# in this directory they are installed into the english dir
-
-EXTRA_DIST = help_en.docbook help_fr.docbook
-
-####### tdevelop will overwrite this part!!! (end)############
-
-MAINTAINERCLEANFILES = ./*.html
-CLEANFILES = core *~ .deps/* doc/*~ *.orig changes.docbook
-DISTCLEANFILES = Makefile.in Makefile
-
-LANGUAGES = en fr
-SUFFIXES = .docbook .po .pot
-SGMLDIR=$(kde_datadir)/ksgmltools2
-DOCDIR = $(DESTDIR)${kde_htmldir}
-XML2POT = xml2pot
-PO2XML = po2xml
-MSGMERGE = msgmerge
-
-
-help_en.pot: help_en.docbook
- $(XML2POT) help_en.docbook > help_en.pot
-
-# --- translated docbook online help ---
-
-help_fr.po: help_en.pot
- $(MSGMERGE) -o help_fr.po help_fr.po help_en.pot
-
-help_fr.docbook: help_en.docbook help_en.pot
- ${MAKE} help_fr.po
- @echo "converting french help"
- @ $(PO2XML) help_en.docbook help_fr.po | \
- sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ French\ /g \
- > help_fr.docbook
-
-# --- ---
-
-install-data-local:
- echo installing docs in $(DOCDIR)
- for lang in ${LANGUAGES}; do \
- { \
- $(mkinstalldirs) ${DOCDIR}/$${lang}/$(PACKAGE); \
- $(INSTALL_DATA) help_$${lang}.docbook ${DOCDIR}/$${lang}/$(PACKAGE)/index.docbook; \
- if test ! -e ${DOCDIR}/$${lang}/$(PACKAGE)/common ; then \
- rm -f ${DOCDIR}/$${lang}/$(PACKAGE)/common ; fi ; \
- ( cd ${DOCDIR}/$${lang}/${PACKAGE} ; ln -sf ../common . ) ; \
- }; done
- cd ${DOCDIR} ; \
- if test ! -e default/$(PACKAGE) -a -e default ; then ln -sf ../en/$(PACKAGE) default; fi;
-
-uninstall-local:
- for lang in ${LANGUAGES}; do { \
- rm -R -f ${DOCDIR}/$${lang}/${PACKAGE} ; \
- rmdir -p --ignore-fail-on-non-empty $(DOCDIR)/$$lang >/dev/null 2>&1; \
- if test -L ${DOCDIR}/default/$(PACKAGE); then rm -f ${DOCDIR}/default/$(PACKAGE); fi; \
- }; done
-
-all:
+KDE_LANG = en
+KDE_DOCS = knights
+SUBDIRS = $(AUTODIRS)
diff --git a/doc/en/CMakeLists.txt b/doc/en/CMakeLists.txt
new file mode 100644
index 0000000..ba3ef3e
--- /dev/null
+++ b/doc/en/CMakeLists.txt
@@ -0,0 +1 @@
+tde_create_handbook( DESTINATION ${PROJECT_NAME} )
diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am
new file mode 100644
index 0000000..20beda9
--- /dev/null
+++ b/doc/en/Makefile.am
@@ -0,0 +1,2 @@
+KDE_DOCS = knights
+KDE_LANG = en
diff --git a/doc/en/index.docbook b/doc/en/index.docbook
index 6bc3be7..99b75a3 100644
--- a/doc/en/index.docbook
+++ b/doc/en/index.docbook
@@ -15,18 +15,14 @@
Troy
Corbin Jr.
-
- tcorbin@users.sf.net
-
+ tcorbin@users.sf.net
Troy
Corbin Jr.
-
- tcorbin@users.sf.net
-
+ tcorbin@users.sf.net
Developer
diff --git a/doc/fr/index.docbook b/doc/fr/index.docbook
deleted file mode 100644
index 274c59a..0000000
--- a/doc/fr/index.docbook
+++ /dev/null
@@ -1,662 +0,0 @@
-
-
-
-
-]>
-
-
-
-
- The Knights Handbook
-
-
-
- Troy
- Corbin Jr.
-
-
- tcorbin@users.sf.net
-
-
-
-
- Troy
- Corbin Jr.
-
-
- tcorbin@users.sf.net
-
-
- Developer
-
-
-
-
- 2001, 2002
-
-
-
- &FDLNotice;
-
-
- 2003-05-17
-
-
- 0.6
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- &underFDL;
- &underGPL;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-