X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=doc%2Fsrc%2Frtd%2FMakefile;h=a401f01de36eed9c167bca418cebd69fc391da03;hb=2b3c393e660c5e1037191f43cc70537da8316b89;hp=f3fbf41ace19a5d5ba93d03364b9b0814082c291;hpb=503fe41e88b66ff8986c991bfbd075331b0bd166;p=ric-plt%2Flib%2Frmr.git diff --git a/doc/src/rtd/Makefile b/doc/src/rtd/Makefile index f3fbf41..a401f01 100644 --- a/doc/src/rtd/Makefile +++ b/doc/src/rtd/Makefile @@ -19,7 +19,7 @@ # This is a stand-alone make file as the RTD documentation is NOT built and packaged # with the normal CMake process and thus isn't covered in the CMake files. -# {X}fm is required to compile the source. +# {X}fm is required to compile the source. %.rst:: %.xfm man_list.im @@ -34,7 +34,7 @@ %.md:: %.xfm man_list.im OUTPUT_TYPE=markdown tfm $< | sed 's/^ //' >$@ -docs = config-deploy developer-guide user-guide rel-notes overview +docs = config-deploy developer-guide rel-notes overview all:: $(docs:%=%.rst) $(docs:%=%.txt) $(docs:%=%.md) @@ -57,6 +57,7 @@ $(docs:%=%.md): always # copy the .rst files which have changed into the docs (plural) directory at the root of the repo publish : $(docs:%=%.rst) bash publish_man.sh;\ + bash publish_lib.sh;\ for f in *.rst;\ do\ if ! diff -N -q $$f ../../../docs/$$f >/dev/null 2>&1;\ @@ -75,6 +76,9 @@ verify : $(docs:%=%.rst) fi;\ done +test: + bash publish_lib.sh; + # ditch any intermediate files clean: rm -f rel-notes.xfm *.sp *.ca