X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=doc%2Fsrc%2Frtd%2Fgen_man_list.sh;fp=doc%2Fsrc%2Frtd%2Fgen_man_list.sh;h=d952cf4724e005a24bd4d6e355e890b1d358c035;hb=4d1f9bf4b14788f957964d93af940e84f8f01601;hp=0000000000000000000000000000000000000000;hpb=6926c66052111119df8a3d2e7b9e4ddbbeea7910;p=ric-plt%2Flib%2Frmr.git diff --git a/doc/src/rtd/gen_man_list.sh b/doc/src/rtd/gen_man_list.sh new file mode 100755 index 0000000..d952cf4 --- /dev/null +++ b/doc/src/rtd/gen_man_list.sh @@ -0,0 +1,31 @@ +#/usr/bin/env bash +# vim: sw=4 ts=4 noet : + +#================================================================================== +# Copyright (c) 2020 Nokia +# Copyright (c) 2020 AT&T Intellectual Property. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#================================================================================== + +# generate the list of man pages to include in the user guide + +printf ".** CAUTION: this file is automatically generated; do not manually edit\n\n" +ls -al ../man/*.xfm|sed 's!^.*man/!!' | while read x +do + if [[ $x != *".7.xfm" ]] + then + printf ".ju off &space\n" + printf ".im &{lib}/man/$x\n" + fi +done