Commit e216a5e1 authored by David Moxey's avatar David Moxey

Add similar changes to user guide and HTML construction

parent 40c2ff8b
......@@ -13,11 +13,11 @@ FIND_PROGRAM(HTLATEX htlatex)
MARK_AS_ADVANCED(HTLATEX)
ADD_CUSTOM_TARGET(developer-guide-html
TEXINPUTS=${CMAKE_SOURCE_DIR}:${DEVGUIDESRC}//:
TEXINPUTS=${DEVGUIDESRC}//:
${HTLATEX} ${DEVGUIDESRC}/developers-guide.tex
"${DEVGUIDESRC}/styling.cfg,html,3,next,NoFonts"
COMMAND BIBINPUTS=${DEVGUIDESRC} ${BIBTEX} developers-guide.aux
COMMAND TEXINPUTS=${CMAKE_SOURCE_DIR}:${DEVGUIDESRC}//:
COMMAND TEXINPUTS=${DEVGUIDESRC}//:
${HTLATEX} ${DEVGUIDESRC}/developers-guide.tex
"${DEVGUIDESRC}/styling.cfg,html,3,next,NoFonts"
WORKING_DIRECTORY ${DEVGUIDE}/html
......
......@@ -13,11 +13,11 @@ FIND_PROGRAM(HTLATEX htlatex)
MARK_AS_ADVANCED(HTLATEX)
ADD_CUSTOM_TARGET(user-guide-html
export TEXINPUTS=${CMAKE_SOURCE_DIR}:${USERGUIDESRC}//: &&
export TEXINPUTS=${USERGUIDESRC}//: &&
${HTLATEX} ${USERGUIDESRC}/user-guide.tex
"${USERGUIDESRC}/styling.cfg,html,3,next,NoFonts"
COMMAND BIBINPUTS=${CMAKE_SOURCE_DIR}/docs ${BIBTEX} user-guide.aux
COMMAND TEXINPUTS=${CMAKE_SOURCE_DIR}:${USERGUIDESRC}//:
COMMAND TEXINPUTS=${USERGUIDESRC}//:
${HTLATEX} ${USERGUIDESRC}/user-guide.tex
"${USERGUIDESRC}/styling.cfg,html,3,next,NoFonts"
WORKING_DIRECTORY ${USERGUIDE}/html
......@@ -43,14 +43,11 @@ FOREACH(pdf ${pdffiles})
ENDFOREACH()
ADD_CUSTOM_TARGET(user-guide-pdf
export TEXINPUTS=${CMAKE_SOURCE_DIR}//: &&
${PDFLATEX} --output-directory ${USERGUIDE} ${USERGUIDESRC}/user-guide.tex
COMMAND BIBINPUTS=${CMAKE_SOURCE_DIR}/docs TEXMFOUTPUT=${USERGUIDE}
${BIBTEX} ${USERGUIDE}/user-guide.aux
COMMAND TEXMFOUTPUT=${USERGUIDE} ${MAKEINDEX} ${USERGUIDE}/user-guide.idx
COMMAND TEXINPUTS=${CMAKE_SOURCE_DIR}//:
${PDFLATEX} --output-directory ${USERGUIDE} ${USERGUIDESRC}/user-guide.tex
COMMAND TEXINPUTS=${CMAKE_SOURCE_DIR}//:
${PDFLATEX} --output-directory ${USERGUIDE} ${USERGUIDESRC}/user-guide.tex
COMMAND ${PDFLATEX} --output-directory ${USERGUIDE} ${USERGUIDESRC}/user-guide.tex
COMMAND ${PDFLATEX} --output-directory ${USERGUIDE} ${USERGUIDESRC}/user-guide.tex
WORKING_DIRECTORY ${USERGUIDESRC}
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment