X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=doc%2Fsrc%2Frtd%2FMakefile;h=716358c8af198567579e8dcba4ad6256ce16d3e8;hb=6ef23e1d7f7f47ccab5be6ff1b68e5cfdda80ad2;hp=eda0613220e0a9eecb48b83dc98c44a5ed53c320;hpb=8ec1e3c2dec6ba4fa83fe63e4207d47b4b0f3b3f;p=ric-plt%2Fxapp-frame-cpp.git diff --git a/doc/src/rtd/Makefile b/doc/src/rtd/Makefile index eda0613..716358c 100644 --- a/doc/src/rtd/Makefile +++ b/doc/src/rtd/Makefile @@ -22,26 +22,9 @@ src = rel-notes.xfm imbed_src = desired_out = rst -# use care: the output type is used to source the macros based on the type -# of output being rendered. -# Two pass builds allow for table of contents gen/insert, forward var -# references etc. -# -%.ps: %.xfm - OUTPUT_TYPE=generic_ps XFM_PASS=1 pfm $< /dev/null - OUTPUT_TYPE=generic_ps XFM_PASS=2 pfm $< $@ - -%.md: %.xfm - OUTPUT_TYPE=markdown XFM_PASS=1 tfm $< /dev/null - OUTPUT_TYPE=markdown XFM_PASS=2 tfm $< | sed 's/^ //' >$@ - -%.rst: %.xfm - OUTPUT_TYPE=rst XFM_PASS=1 tfm $< /dev/null - GEN_TITLE=1 OUTPUT_TYPE=rst XFM_PASS=2 tfm $< | sed 's/ $$//; s/^ //' >$@ +include ../master.mk -%.txt: %.xfm - OUTPUT_TYPE=txt XFM_PASS=1 tfm $< /dev/null - OUTPUT_TYPE=txt XFM_PASS=2 tfm $< $@ +XPATH = XFM_PATH=.:/usr/local/share/xfm # ----------------------------------------------------------------------------------- @@ -70,6 +53,7 @@ clean: # Destroy anything that can be built nuke: clean rm -fr *.md *.ps *.pdf *.txt *.rst *.toc + rm -fr rel-notes.xfm # make hack to force a rule to always be out of date always: