diff options
-rwxr-xr-x | tools/gendoc/gendoc-mock-inside | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/gendoc/gendoc-mock-inside b/tools/gendoc/gendoc-mock-inside index 8f70681..4d6865c 100755 --- a/tools/gendoc/gendoc-mock-inside +++ b/tools/gendoc/gendoc-mock-inside @@ -34,7 +34,7 @@ cp -r _build/html/* $OUT/openlmi-storage/$3/ # prepare the directory for inclusion in overall documentation # we don't want class documentation here, there will be one # on the top level -rm -rf mof/*.rst +/bin/rm mof/*.rst popd pushd clones/openlmi-providers/ @@ -46,6 +46,10 @@ for d in account fan hardware journald logicalfile power realmd service-dbus sof mkdir -p $OUT/openlmi-providers/$1/$d cp -r doc/admin/$d/html/* $OUT/openlmi-providers/$1/$d/ done +# prepare the directory for inclusion in overall documentation +# we don't want class documentation here, there will be one +# on the top level +find . -wholename "*mof/*.rst" | xargs /bin/rm popd pushd clones/openlmi-networking @@ -55,6 +59,10 @@ cmake .. || exit 1 make doc || exit 1 mkdir -p $OUT/openlmi-networking/$2 cp -r doc/admin/html/* $OUT/openlmi-networking/$2/ +# prepare the directory for inclusion in overall documentation +# we don't want class documentation here, there will be one +# on the top level +rm doc/admin/mof/*.rst popd # Update project versions in RST files |