X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myplc-docs.spec;h=ab88aa7f36548b656f990246213e1604e64d8d78;hb=a21957f577d9c81676fedd1bd081bb6b2635b718;hp=19aad78b7fb269997402ecad31039d397e4f0b8c;hpb=e0343cbb707f100bb22cdb1e4363b24ad8ce09da;p=myplc.git 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