From a21957f577d9c81676fedd1bd081bb6b2635b718 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 6 Jun 2011 15:54:22 +0200 Subject: [PATCH] be stubborn on running latex as on f12 it behaves somewjat weird --- myplc-docs.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/myplc-docs.spec b/myplc-docs.spec index 19aad78..ab88aa7 100644 --- a/myplc-docs.spec +++ b/myplc-docs.spec @@ -42,26 +42,27 @@ rm -rf $RPM_BUILD_ROOT [ -d monitor ] || ln -s Monitor monitor pushd plcapi +# june2011 & f12, latex issues weird warnings, might need to try twice +make -C doc PLCAPI.pdf || make -C doc PLCAPI.pdf # beware that making the pdf file somehow overwrites the html -make -C doc PLCAPI.pdf rm -f doc/PLCAPI.html -make -C doc PLCAPI.html +make -C doc PLCAPI.html || make -C doc PLCAPI.html popd pushd nodemanager # beware that making the pdf file somehow overwrites the html -make -C doc NMAPI.pdf +make -C doc NMAPI.pdf || make -C doc NMAPI.pdf rm -f doc/NMAPI.html -make -C doc NMAPI.html +make -C doc NMAPI.html || make -C doc NMAPI.html popd # not everyone rebuilds monitor, so make it optional if [ -d monitor ] ; then pushd monitor # beware that making the pdf file somehow overwrites the html -make -C docs Monitor.pdf +make -C docs Monitor.pdf || make -C docs Monitor.pdf rm -f docs/Monitor.html -make -C docs Monitor.html +make -C docs Monitor.html || make -C docs Monitor.html popd fi -- 2.43.0