enable multimodule for DOCS
@@ -1597,7 +1597,7 @@ module PACKAGE: BASE_UNIT {
PACKED_PACKAGE_ARGS+=--dest-arch ${output;suf=.$PACKED_PACKAGE_EXT:REALPRJNAME}
}
SET(NEED_PLATFORM_PEERDIRS no)
- PEERDIR_TAGS=CPP_PROTO PY2 PY2_NATIVE YQL_UDF_SHARED __EMPTY__
+ PEERDIR_TAGS=CPP_PROTO PY2 PY2_NATIVE YQL_UDF_SHARED __EMPTY__ DOCBOOK
}
module TGZ_PACKAGE: UNION {
@@ -1626,7 +1626,7 @@ module UNION: BASE_UNIT {
SET(DONT_RESOLVE_INCLUDES yes)
.CMD=TOUCH_UNIT_MF
SET(NEED_PLATFORM_PEERDIRS no)
- PEERDIR_TAGS=CPP_PROTO PY2 PY2_NATIVE YQL_UDF_SHARED __EMPTY__
+ PEERDIR_TAGS=CPP_PROTO PY2 PY2_NATIVE YQL_UDF_SHARED __EMPTY__ DOCBOOK
}
module PY_PACKAGE: UNION {
@@ -1643,14 +1643,29 @@ module PY_PACKAGE: UNION {
### Is only used together with the macros DOCS_DIR(), DOCS_CONFIG(), DOCS_VARS().
###
### Module declaration must be finished with the macro END().
-module DOCS: UNION {
+multimodule DOCS {
+
+ module DOCBOOK: PACKAGE {
.ALL_INS_TO_OUT=yes
.CMD=TOUCH_DOCS_MF
.FINAL_TARGET=yes
-
+ SET(PEERDIR_TAGS DOCSLIB)
+ SET(MODULE_TAG DOCBOOK)
PROCESS_DOCS()
}
+ module DOCSLIB: UNION {
+ .ALL_INS_TO_OUT=yes
+ .CMD=TOUCH_DOCS_MF
+ .FINAL_TARGET=no
+ SET(MODULE_SUFFIX .pkg-dep.fake)
+ SET(PEERDIR_TAGS DOCSLIB)
+ SET(MODULE_TAG DOCSLIB)
+ PROCESS_DOCSLIB()
+ }
+
+}
+
DOCSDIR=
### @usage DOCS_DIR(path)
