X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=doc%2Fsrc%2Frtd%2FMakefile;h=716358c8af198567579e8dcba4ad6256ce16d3e8;hb=57176d36fd7a85d598685b552451b2f516322d1e;hp=5a767df26615cd24603a23badb26326c269402b8;hpb=caed01aad345ebae5f7538276f110e57e77f3c95;p=ric-plt%2Fxapp-frame-cpp.git diff --git a/doc/src/rtd/Makefile b/doc/src/rtd/Makefile index 5a767df..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/^ //' >$@ +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 # ----------------------------------------------------------------------------------- @@ -60,7 +43,7 @@ rel-notes.rst: rel-notes.xfm $(imbed_src) # $(docs:%=%.rst): always -publish: user_guide.rst +publish: rel-notes.rst cp *.rst ../../../docs/ # intermeidate junk that might straggle @@ -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: