X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=doc%2Fsrc%2Fuser%2FMakefile;h=9a1b3951d42993b67d21ba76cd8c4d01759b9f9a;hb=23d0e614733c0305738d8c70d2e4c3e56beb6473;hp=70ab002a6472c140bae40c8b55d7a7c4c0b128b9;hpb=5a9d7c67d1ec1e4410995eae4b50f929396935f6;p=ric-plt%2Fxapp-frame-cpp.git diff --git a/doc/src/user/Makefile b/doc/src/user/Makefile index 70ab002..9a1b395 100644 --- a/doc/src/user/Makefile +++ b/doc/src/user/Makefile @@ -17,33 +17,12 @@ # this uses {X}fm which can be cloned from: https://gitlab.com/rouxware/xfm -XPATH=XFM_PATH=.:/usr/local/share/xfm TFM_PATH=.:/usr/local/share/xfm - docs = user_guide src = user_guide.xfm -imbed_src = cpp_frame.im example1.im example2.im example3.im jhash.im -desired_out = rst ps - -# 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 - $(XPATH) OUTPUT_TYPE=generic_ps XFM_PASS=1 pfm $< /dev/null - $(XPATH) OUTPUT_TYPE=generic_ps XFM_PASS=2 pfm $< $@ - -%.md: %.xfm - $(XPATH) OUTPUT_TYPE=markdown XFM_PASS=1 tfm $< /dev/null - $(XPATH) OUTPUT_TYPE=markdown XFM_PASS=2 tfm $< | sed 's/^ //' >$@ - -%.rst: %.xfm - $(XPATH) OUTPUT_TYPE=rst XFM_PASS=1 tfm $< /dev/null - $(XPATH) GEN_TITLE=1 OUTPUT_TYPE=rst XFM_PASS=2 tfm $< | sed 's/^ //; s/ *$$//' >$@ +imbed_src = cpp_frame.im example1.im example2.im example3.im jhash.im example4.im metrics.im config.im +desired_out = rst ps md -%.txt: %.xfm - $(XPATH) OUTPUT_TYPE=txt XFM_PASS=1 tfm $< /dev/null - $(XPATH) OUTPUT_TYPE=txt XFM_PASS=2 tfm $< $@ +include ../master.mk # ----------------------------------------------------------------------------------- all: $(desired_out:%=user_guide.%)