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

New rules for HTML conversion

parent f229c5fa
No related branches found
No related tags found
No related merge requests found
SCRIPTBASENAME=lectures
PLUGINID=de.hdm_stuttgart.mi.lectures
WWWBASE=www.mi.hdm-stuttgart.de:/home/infocenter2/doc
#
#Eclipsedoc related plugin parameters
#
PPARAM= -p eclipse.plugin.name Lectures \
-p eclipse.plugin.provider 'Martin Goik, goik@hdm-stuttgart.de'
BUILDROOT=/tmp
#+++ no changes below this line ++++++++++++++++++++++++++++++++++++
#
# Directories containing pom.xml files
#
#
# Dependent destinations
#
BUILDROOT=target
BUILDBASE=$(BUILDROOT)/$(SCRIPTBASENAME)
BUILDNAVI=$(BUILDBASE)/navi/$(PLUGINID)
BUILDNONAVI=$(BUILDBASE)/nonavi/$(PLUGINID)
JAVADOCDESTDIR=${BUILDNAVI}/Ref/api
#jdoc: $(foreach pomDir,$(POMDIRS),$(pomDir)/jdoc )
all: ${BUILDNAVI}/printversion.pdf
${BUILDNAVI}/index.html ${BUILDNAVI}/printversion.pdf:${SCRIPTBASENAME}.xml Common/glossary.xml Common/bibliography.xml
mkdir -p ${BUILDROOT};
saxon9he-xslt -s:${SCRIPTBASENAME}.xml -xi:on -xsl:../ws/Docbook/Extensions/Xsl/docbook2docbook.xsl > ${BUILDROOT}/${SCRIPTBASENAME}.xml
# mkdir -p ${BUILDNAVI} ${BUILDNONAVI}
# /usr/share/xmlmind/bin/xxetool convert -p suppress.navigation 1 -p eclipse.plugin.id $(PLUGINID) ${PPARAM} db5.toEclipseHelp \
# ${SCRIPTBASENAME}.answer.xml -u $(BUILDNONAVI)
# mkdir -p Ref/Fig/Generate;rm -f Ref/Fig/Generate/*.tex;\
# ../bin/stripUnicode.sh resources/Generate/*.tex; mv resources/Generate/*.tex Ref/Fig/Generate
# cd Ref/Fig;make all
# /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
# /usr/share/xmlmind/bin/xxetool convert db5.toPSFile ${SCRIPTBASENAME}.answer.xml \
# -s pdf -s "|pdf" -u $(BUILDNAVI)/printversion.pdf
# tar c --exclude=\.svn Ref|tar -xC ${BUILDNAVI}
#You may have to start refdbd -i applic.mi.hdm-stuttgart.de -s -e 0 -l 7
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
install:#jdoc
rsync -av --delete -e ssh ${BUILDNAVI} infocenter2@${WWWBASE}/navi
rsync -av --delete -e ssh ${BUILDNONAVI} infocenter2@${WWWBASE}/nonavi
ssh infocenter2@www.mi.hdm-stuttgart.de /usr/share/hdm/indexupdate.pl
clean:
rm -rf ${BUILDROOT}
# cd Ref/Fig;$(MAKE) clean
#end
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