manuals: generate vty reference xml at build time

Move 'doc' subdir further down to "make sure" the osmo-hlr binary is built
before the docs

Remove hlr_vty_reference from the source tree.

In manuals// use the new BUILT_REFERENCE_XML feature recently added
to osmo-gsm-manuals, and add a build target to generate the XML using the new
osmo-hlr --vty-ref-xml cmdline switch.

Change-Id: I02c9862ced48ce4271b328a0963d5f09086b295c
Depends: I613d692328050a036d05b49a436ab495fc2087ba
Related: OS#5041
Harald Welte 2021-02-23 17:25:41 +01:00 committed by laforge
parent 2bd1a45553
commit 8c9087dd16
3 changed files with 7 additions and 1778 deletions

View File

@ -1,9 +1,9 @@
AUTOMAKE_OPTIONS = foreign dist-bzip2
doc \
src \
include \
doc \
sql \
contrib \
tests \

View File

@ -14,6 +14,12 @@ if BUILD_MANUALS
include $(OSMO_GSM_MANUALS_DIR)/build/
VTY_REFERENCE = osmohlr-vty-reference.xml
BUILT_REFERENCE_XML = $(builddir)/vty/hlr_vty_reference.xml
$(builddir)/vty/hlr_vty_reference.xml: $(top_builddir)/src/osmo-hlr
mkdir -p $(builddir)/vty
$(top_builddir)/src/osmo-hlr --vty-ref-xml > $@
include $(OSMO_GSM_MANUALS_DIR)/build/

File diff suppressed because it is too large Load Diff