From 02354939e3e322c522821b2426d05e03dc536e3a Mon Sep 17 00:00:00 2001
From: Martin Goik <goik@hdm-stuttgart.de>
Date: Tue, 1 Dec 2015 15:44:03 +0100
Subject: [PATCH] Rollback to Xhtml

---
 Doc/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Doc/Makefile b/Doc/Makefile
index e156560ff..c74b10fb9 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -64,11 +64,14 @@ ${BUILDROOT}/${BUILDNAVI}/index.html: ${BUILDROOT}/${SCRIPTBASENAME}.xml
 	cd  ${BUILDROOT}; mkdir -p ${BUILDNAVI};\
           /usr/share/xmlmind/bin/xxetool convert -p eclipse.plugin.id  $(PLUGINID) ${PPARAM} db5.toEclipseHelp \
            ${SCRIPTBASENAME}.xml -u $(BUILDNAVI);\
+	perl -i -p -e '$$/=undef;s/\n[ \t]*<!DOCTYPE[^>]+\n[^>]*>$$//m' ${BUILDNAVI}/*.xml
+	cp -r META-INF ${BUILDROOT}/${BUILDNAVI} 
 
 ${BUILDROOT}/${BUILDNONAVI}/index.html: ${BUILDROOT}/${SCRIPTBASENAME}.xml
 	cd  ${BUILDROOT}; mkdir -p ${BUILDNONAVI};\
           /usr/share/xmlmind/bin/xxetool convert -p suppress.navigation 1 -p eclipse.plugin.id  $(PLUGINID) ${PPARAM} db5.toEclipseHelp \
           ${SCRIPTBASENAME}.xml -u $(BUILDNONAVI);
+	perl -i -p -e '$$/=undef;s/\n[ \t]*<!DOCTYPE[^>]+\n[^>]*>$$//m' ${BUILDNONAVI}/*.xml
 
 ${BUILDROOT}/${BUILDNAVI}/printversion.pdf: ${BUILDROOT}/${SCRIPTBASENAME}_print.xml
 	cd ${BUILDROOT};\
@@ -87,4 +90,4 @@ install:#jdoc
 clean:
 	rm -rf ${BUILDROOT}
 
-#end
+#end
\ No newline at end of file
-- 
GitLab