Add API allowing xAPPs to send alarm messages
[ric-plt/xapp-frame-cpp.git] / doc / src / master.mk
1 #==================================================================================
2 #   Copyright (c) 2020 Nokia
3 #   Copyright (c) 2020 AT&T Intellectual Property.
4 #
5 #   Licensed under the Apache License, Version 2.0 (the "License");
6 #   you may not use this file except in compliance with the License.
7 #   You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 #   Unless required by applicable law or agreed to in writing, software
12 #   distributed under the License is distributed on an "AS IS" BASIS,
13 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 #   See the License for the specific language governing permissions and
15 #   limitations under the License.
16 #==================================================================================
17
18 # common make meta rules and vars for all subdirectories
19
20 XPATH=XFM_PATH=.:/usr/local/share/xfm TFM_PATH=.:/usr/local/share/xfm
21
22 # use care: the output type is used to source the macros based on the type
23 # of output being rendered.
24 # Two pass builds allow for table of contents gen/insert, forward var
25 # references etc.
26 #
27 %.ps: %.xfm
28         $(XPATH) OUTPUT_TYPE=generic_ps XFM_PASS=1 pfm $< /dev/null
29         $(XPATH) OUTPUT_TYPE=generic_ps XFM_PASS=2 pfm $< $@
30
31 %.md: %.xfm
32         $(XPATH) OUTPUT_TYPE=markdown XFM_PASS=1 tfm $< /dev/null
33         $(XPATH) OUTPUT_TYPE=markdown XFM_PASS=2 tfm $< | sed 's/^ //' >$@
34
35 %.rst: %.xfm
36         $(XPATH) OUTPUT_TYPE=rst XFM_PASS=1 tfm $< /dev/null
37         $(XPATH) OUTPUT_TYPE=rst XFM_PASS=2 tfm $< | sed 's/^ //; s/ *$$//' >$@
38
39 %.txt: %.xfm
40         $(XPATH) OUTPUT_TYPE=txt XFM_PASS=1 tfm $< /dev/null
41         $(XPATH) OUTPUT_TYPE=txt XFM_PASS=2 tfm $< $@