summaryrefslogtreecommitdiffstats
path: root/documentation/docsrc_common/conditions.mk
blob: 13acb32e349d89cac18f5eb9a2899dc5e8941db2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
###############################################################################
# XML conditions, by default set for all books built from this clone.
# When building, conditional XML elements are
# - shown only if the condition is SET
# - hidden if the condition is NOT set
# Book-specific conditions may set in book-xxx/swcomp.mk, or in runtime by
# make doc or makethisdoc. Run make docusage or makethisdoc -h for further info.
###############################################################################
X_MISC:=\
eclipse\
general\
pm_smart

X_TARGETS:=\
t_t4240\
t_p2041\
t_p3041

X_FEATURES:=\
f_any;f_any_nw;f_ovs;f_any_vt;f_kvm;f_lxc;f_any_rt;f_ci

empty=
space=$(empty) $(empty)
MISC:=$(subst $(space),;,$(strip $(X_MISC)))
TARGETS:=$(subst $(space),;,$(strip $(X_TARGETS)))
FEATURES:=$(subst $(space),;,$(strip $(X_FEATURES)))

DEFAULTCONDITIONS:=$(MISC);$(TARGETS);$(FEATURES)

###############################################################################
# Available conditions are listed in docsrc_common/conditions_template.mk
# in linux/documentation.git.
###############################################################################