X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=doc%2Fsrc%2Frtd%2FMakefile;h=6ef174341200c86dd05217497c7c45580459868b;hb=HEAD;hp=5f8cc680c9c5f9ff90f02027271e722868c9af9e;hpb=a3a121ca4a0426ec964fa684fb27c397f2ee9e24;p=ric-plt%2Flib%2Frmr.git diff --git a/doc/src/rtd/Makefile b/doc/src/rtd/Makefile index 5f8cc68..6ef1743 100644 --- a/doc/src/rtd/Makefile +++ b/doc/src/rtd/Makefile @@ -23,7 +23,7 @@ %.rst:: %.xfm - OUTPUT_TYPE=rst tfm $< | sed 's/^ //' >$@ + OUTPUT_TYPE=rst tfm $< | sed 's/^ //; s/ *$$//' >$@ %.ps:: %.xfm OUTPUT_TYPE=ps pfm $< $@ @@ -59,11 +59,12 @@ $(docs:%=%.html): always publish : $(docs:%=%.rst) bash publish_man.sh;\ bash publish_lib.sh;\ + bash scrape_types.sh;\ for f in *.rst;\ do\ if ! diff -N -q $$f ../../../docs/$$f >/dev/null 2>&1;\ then\ - cp -p $$f ../../../docs/;\ + sed 's/ *$$//' $$f >../../../docs/$${f##*/};\ fi;\ done