Skip to content
Snippets Groups Projects
Commit 54f03275 authored by Goik Martin's avatar Goik Martin
Browse files

Makefile intermediate state

parent 8bf982d8
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,8 @@ WWWBASE=www.mi.hdm-stuttgart.de:/home/infocenter2/doc ...@@ -7,6 +7,8 @@ WWWBASE=www.mi.hdm-stuttgart.de:/home/infocenter2/doc
PPARAM= -p eclipse.plugin.name Lectures \ PPARAM= -p eclipse.plugin.name Lectures \
-p eclipse.plugin.provider 'Martin Goik, goik@hdm-stuttgart.de' -p eclipse.plugin.provider 'Martin Goik, goik@hdm-stuttgart.de'
DOCMODULES=Sd1 Sda1 Sda2
BUILDROOT=/tmp BUILDROOT=/tmp
#+++ no changes below this line ++++++++++++++++++++++++++++++++++++ #+++ no changes below this line ++++++++++++++++++++++++++++++++++++
...@@ -31,18 +33,31 @@ all: ${BUILDNAVI}/printversion.pdf ...@@ -31,18 +33,31 @@ all: ${BUILDNAVI}/printversion.pdf
${BUILDNAVI}/index.html ${BUILDNAVI}/printversion.pdf:${SCRIPTBASENAME}.xml Common/glossary.xml Common/bibliography.xml ${BUILDNAVI}/index.html ${BUILDNAVI}/printversion.pdf:${SCRIPTBASENAME}.xml Common/glossary.xml Common/bibliography.xml
mkdir -p ${BUILDROOT}; mkdir -p ${BUILDROOT};
saxon9he-xslt -s:${SCRIPTBASENAME}.xml -xi:on -xsl:../ws/Docbook/Extensions/Xsl/docbook2docbook.xsl > ${BUILDROOT}/${SCRIPTBASENAME}.xml saxon9he-xslt -s:${SCRIPTBASENAME}.xml -xi:on -xsl:../ws/Docbook/Extensions/Xsl/docbook2docbook.xsl > ${BUILDROOT}/${SCRIPTBASENAME}.xml
# mkdir -p ${BUILDNAVI} ${BUILDNONAVI} for module in ${DOCMODULES}; do \
# /usr/share/xmlmind/bin/xxetool convert -p suppress.navigation 1 -p eclipse.plugin.id $(PLUGINID) ${PPARAM} db5.toEclipseHelp \ tar c- $$module/Ref| tar -x -C ${BUILDROOT}; \
# ${SCRIPTBASENAME}.answer.xml -u $(BUILDNONAVI) done;
# mkdir -p Ref/Fig/Generate;rm -f Ref/Fig/Generate/*.tex;\ cd ${BUILDROOT}; mkdir -p ${BUILDNAVI} ${BUILDNONAVI};\
# ../bin/stripUnicode.sh resources/Generate/*.tex; mv resources/Generate/*.tex Ref/Fig/Generate /usr/share/xmlmind/bin/xxetool convert -p suppress.navigation 1 -p eclipse.plugin.id $(PLUGINID) ${PPARAM} db5.toEclipseHelp \
# cd Ref/Fig;make all ${SCRIPTBASENAME}.xml -u $(BUILDNONAVI)
# /usr/share/xmlmind/bin/xxetool convert -p eclipse.plugin.id $(PLUGINID) ${PPARAM} db5.toEclipseHelp ${SCRIPTBASENAME}.answer.xml -u $(BUILDNAVI) # /usr/share/xmlmind/bin/xxetool convert -p eclipse.plugin.id $(PLUGINID) ${PPARAM} db5.toEclipseHelp ${SCRIPTBASENAME}.answer.xml -u $(BUILDNAVI)
# perl -i -p -e '$$/=undef;s/\n[ \t]*<!DOCTYPE[^>]+\n[^>]*>$$//m' ${BUILDNAVI}/*.xml ${BUILDNONAVI}/*.xml # perl -i -p -e '$$/=undef;s/\n[ \t]*<!DOCTYPE[^>]+\n[^>]*>$$//m' ${BUILDNAVI}/*.xml ${BUILDNONAVI}/*.xml
# /usr/share/xmlmind/bin/xxetool convert db5.toPSFile ${SCRIPTBASENAME}.answer.xml \ # /usr/share/xmlmind/bin/xxetool convert db5.toPSFile ${SCRIPTBASENAME}.answer.xml \
# -s pdf -s "|pdf" -u $(BUILDNAVI)/printversion.pdf # -s pdf -s "|pdf" -u $(BUILDNAVI)/printversion.pdf
# tar c --exclude=\.svn Ref|tar -xC ${BUILDNAVI} # tar c --exclude=\.svn Ref|tar -xC ${BUILDNAVI}
post:
cd ${BUILDROOT};\
for module in ${DOCMODULES}; do \
mkdir -p $$module/Ref/Fig/Generate;rm -f $$module/Ref/Fig/Generate/*.tex;\
../../bin/stripUnicode.sh resources/Generate/*.tex; mv resources/Generate/*.tex Ref/Fig/Generate
done;
# cd Ref/Fig;make all
#You may have to start refdbd -i applic.mi.hdm-stuttgart.de -s -e 0 -l 7 #You may have to start refdbd -i applic.mi.hdm-stuttgart.de -s -e 0 -l 7
db.docbook.bib.xml:db.docbook.xml db.docbook.bib.xml:db.docbook.xml
runbib -u refdb -d refdb_mi -t db50x -r -G raw.css -E utf-8 db.docbook.xml runbib -u refdb -d refdb_mi -t db50x -r -G raw.css -E utf-8 db.docbook.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment