diff options
Diffstat (limited to 'documentation/docsrc_common/conditions.mk')
-rw-r--r-- | documentation/docsrc_common/conditions.mk | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/documentation/docsrc_common/conditions.mk b/documentation/docsrc_common/conditions.mk new file mode 100644 index 0000000..13acb32 --- /dev/null +++ b/documentation/docsrc_common/conditions.mk | |||
@@ -0,0 +1,33 @@ | |||
1 | ############################################################################### | ||
2 | # XML conditions, by default set for all books built from this clone. | ||
3 | # When building, conditional XML elements are | ||
4 | # - shown only if the condition is SET | ||
5 | # - hidden if the condition is NOT set | ||
6 | # Book-specific conditions may set in book-xxx/swcomp.mk, or in runtime by | ||
7 | # make doc or makethisdoc. Run make docusage or makethisdoc -h for further info. | ||
8 | ############################################################################### | ||
9 | X_MISC:=\ | ||
10 | eclipse\ | ||
11 | general\ | ||
12 | pm_smart | ||
13 | |||
14 | X_TARGETS:=\ | ||
15 | t_t4240\ | ||
16 | t_p2041\ | ||
17 | t_p3041 | ||
18 | |||
19 | X_FEATURES:=\ | ||
20 | f_any;f_any_nw;f_ovs;f_any_vt;f_kvm;f_lxc;f_any_rt;f_ci | ||
21 | |||
22 | empty= | ||
23 | space=$(empty) $(empty) | ||
24 | MISC:=$(subst $(space),;,$(strip $(X_MISC))) | ||
25 | TARGETS:=$(subst $(space),;,$(strip $(X_TARGETS))) | ||
26 | FEATURES:=$(subst $(space),;,$(strip $(X_FEATURES))) | ||
27 | |||
28 | DEFAULTCONDITIONS:=$(MISC);$(TARGETS);$(FEATURES) | ||
29 | |||
30 | ############################################################################### | ||
31 | # Available conditions are listed in docsrc_common/conditions_template.mk | ||
32 | # in linux/documentation.git. | ||
33 | ############################################################################### | ||