X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=doc%2Fsrc%2Frtd%2FMakefile;h=768349dfc70e0c463e6a0fe7dec2575d792b4018;hb=4d1f9bf4b14788f957964d93af940e84f8f01601;hp=a714e6ac10db9b2b507990a36a2bbe6edd6274b9;hpb=6926c66052111119df8a3d2e7b9e4ddbbeea7910;p=ric-plt%2Flib%2Frmr.git diff --git a/doc/src/rtd/Makefile b/doc/src/rtd/Makefile index a714e6a..768349d 100644 --- a/doc/src/rtd/Makefile +++ b/doc/src/rtd/Makefile @@ -22,25 +22,29 @@ # {X}fm is required to compile the source. -%.rst:: %.xfm +%.rst:: %.xfm man_list.im OUTPUT_TYPE=rst tfm $< | sed 's/^ //' >$@ -%.ps:: %.xfm +%.ps:: %.xfm man_list.im OUTPUT_TYPE=ps pfm $< $@ -%.txt:: %.xfm +%.txt:: %.xfm man_list.im OUTPUT_TYPE=txt tfm $< $@ -%.md:: %.xfm +%.md:: %.xfm man_list.im OUTPUT_TYPE=markdown tfm $< | sed 's/^ //' >$@ docs = config-deploy developer-guide user-guide rel-notes overview all:: $(docs:%=%.rst) $(docs:%=%.txt) $(docs:%=%.md) +man_list.im:: always + bash gen_man_list.sh >man_list.im + rel-notes.xfm: ../../../CHANGES ksh fmt_changes.ksh >rel-notes.xfm + # we force the docs to always be out of date so that we don't have to # manage the list of man pages and other files that are read to generate the # output needed for RTD.