From: Thierry Parmentelat Date: Sun, 1 May 2022 16:00:20 +0000 (+0200) Subject: build nodemanager doc only if present X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=bac01912c227b52fe1c5585f9df8e192e7ca4f0f build nodemanager doc only if present --- diff --git a/myplc-docs.spec b/myplc-docs.spec index 1f9c5b7..28420e6 100644 --- a/myplc-docs.spec +++ b/myplc-docs.spec @@ -49,12 +49,15 @@ rm -f doc/PLCAPI.html make -C doc PLCAPI.html || make -C doc PLCAPI.html popd +# nodemanager is now optional +if [ -d nodemanager]; then pushd nodemanager # beware that making the pdf file somehow overwrites the html 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 popd +fi # not everyone rebuilds monitor, so make it optional if [ -d monitor ] ; then