Commit ed359f8b authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Fix rsync flags and rename developer-guide output.

parent 64c1ad5c
......@@ -235,7 +235,7 @@ user-guide-build:
paths:
- build/docs/user-guide/user-guide.pdf
- build/docs/user-guide/html
- build/docs/developer-guide/developers-guide.pdf
- build/docs/developer-guide/developer-guide.pdf
- build/docs/developer-guide/html
doxygen-build:
......
......@@ -279,7 +279,7 @@ package-source-doc-build:
- build/docs/doxygen/html
- build/docs/user-guide/user-guide.pdf
- build/docs/user-guide/html
- build/docs/developer-guide/developers-guide.pdf
- build/docs/developer-guide/developer-guide.pdf
- build/docs/developer-guide/html
- build/docs/tutorial/*/*/*.pdf
- build/docs/tutorial/*/*/*.tar.gz
......@@ -297,19 +297,20 @@ package-source-doc-deploy:
- package-source-doc-build
script:
- VERSION=$(cat VERSION)
- RSYNC=rsync -a --delete
- apt -yq update
- apt -yq install rsync
- cd build/docs
- mkdir -p /web/doc/userguide/${VERSION}
- rsync user-guide/html/ /web/doc/userguide/${VERSION}/
- rsync user-guide/user-guide.pdf /web/src/user-guide-${VERSION}.pdf
- ${RSYNC} user-guide/html/ /web/doc/userguide/${VERSION}/
- ${RSYNC} user-guide/user-guide.pdf /web/src/user-guide-${VERSION}.pdf
- mkdir -p /web/doc/developerguide/${VERSION}
- rsync developer-guide/html/ /web/doc/developerguide/${VERSION}/
- rsync developer-guide/developers-guide.pdf /web/src/developer-guide-${VERSION}.pdf
- ${RSYNC} developer-guide/html/ /web/doc/developerguide/${VERSION}/
- ${RSYNC} developer-guide/developer-guide.pdf /web/src/developer-guide-${VERSION}.pdf
- mkdir -p /web/doc/tutorials/${VERSION}
- rsync tutorial/ /web/doc/tutorials/${VERSION}/
- ${RSYNC} tutorial/ /web/doc/tutorials/${VERSION}/
- mkdir -p /web/doc/doxygen/${VERSION}
- rsync doxygen/html /web/doc/doxygen/${VERSION}
- ${RSYNC} doxygen/html /web/doc/doxygen/${VERSION}
##
......
......@@ -14,11 +14,11 @@ MARK_AS_ADVANCED(HTLATEX)
ADD_CUSTOM_TARGET(developer-guide-html
TEXINPUTS=${DEVGUIDESRC}//:
${HTLATEX} ${DEVGUIDESRC}/developers-guide.tex
${HTLATEX} ${DEVGUIDESRC}/developer-guide.tex
"${DEVGUIDESRC}/styling.cfg,html,3,next,NoFonts"
COMMAND BIBINPUTS=${DEVGUIDESRC} ${BIBTEX} developers-guide.aux
COMMAND BIBINPUTS=${DEVGUIDESRC} ${BIBTEX} developer-guide.aux
COMMAND TEXINPUTS=${DEVGUIDESRC}//:
${HTLATEX} ${DEVGUIDESRC}/developers-guide.tex
${HTLATEX} ${DEVGUIDESRC}/developer-guide.tex
"${DEVGUIDESRC}/styling.cfg,html,3,next,NoFonts"
WORKING_DIRECTORY ${DEVGUIDE}/html
)
......@@ -43,11 +43,11 @@ FOREACH(pdf ${pdffiles})
ENDFOREACH()
ADD_CUSTOM_TARGET(developer-guide-pdf
${PDFLATEX} --output-directory ${DEVGUIDE} ${DEVGUIDESRC}/developers-guide.tex
COMMAND TEXMFOUTPUT=${DEVGUIDE} ${BIBTEX} ${DEVGUIDE}/developers-guide.aux
COMMAND TEXMFOUTPUT=${DEVGUIDE} ${MAKEINDEX} ${DEVGUIDE}/developers-guide.idx
COMMAND ${PDFLATEX} --output-directory ${DEVGUIDE} ${DEVGUIDESRC}/developers-guide.tex
COMMAND ${PDFLATEX} --output-directory ${DEVGUIDE} ${DEVGUIDESRC}/developers-guide.tex
${PDFLATEX} --output-directory ${DEVGUIDE} ${DEVGUIDESRC}/developer-guide.tex
COMMAND TEXMFOUTPUT=${DEVGUIDE} ${BIBTEX} ${DEVGUIDE}/developer-guide.aux
COMMAND TEXMFOUTPUT=${DEVGUIDE} ${MAKEINDEX} ${DEVGUIDE}/developer-guide.idx
COMMAND ${PDFLATEX} --output-directory ${DEVGUIDE} ${DEVGUIDESRC}/developer-guide.tex
COMMAND ${PDFLATEX} --output-directory ${DEVGUIDE} ${DEVGUIDESRC}/developer-guide.tex
WORKING_DIRECTORY ${DEVGUIDESRC}
)
......@@ -57,10 +57,10 @@ INSTALL(CODE "IF (EXISTS ${DEVGUIDE}/html)
LIST(LENGTH DGHTML DGHTML_LEN)
IF(DGHTML_LEN GREATER 0)
FILE(INSTALL ${DEVGUIDE}/html
DESTINATION \${CMAKE_INSTALL_PREFIX}/${NEKTAR_DOC_DIR}/developers-guide)
DESTINATION \${CMAKE_INSTALL_PREFIX}/${NEKTAR_DOC_DIR}/developer-guide)
ENDIF()
ENDIF()
IF (EXISTS ${DEVGUIDE}/developers-guide.pdf)
FILE(INSTALL ${DEVGUIDE}/developers-guide.pdf
DESTINATION \${CMAKE_INSTALL_PREFIX}/${NEKTAR_DOC_DIR}/developers-guide)
IF (EXISTS ${DEVGUIDE}/developer-guide.pdf)
FILE(INSTALL ${DEVGUIDE}/developer-guide.pdf
DESTINATION \${CMAKE_INSTALL_PREFIX}/${NEKTAR_DOC_DIR}/developer-guide)
ENDIF()")
......@@ -101,7 +101,7 @@
\bibliographystyle{plain}
\bibliography{developers-guide}
\bibliography{developer-guide}
\printindex
......
......@@ -241,11 +241,11 @@ To compile the Developer's Guide:
\item Configure the Nektar++ build tree as normal.
\item Run
\begin{lstlisting}[style=BashInputStyle]
make developers-guide-pdf
make developer-guide-pdf
\end{lstlisting}
to make the PDF version, or run
\begin{lstlisting}[style=BashInputStyle]
make developers-guide-html
make developer-guide-html
\end{lstlisting}
to make the HTML version.
\end{enumerate}
......
Supports Markdown
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