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//Makefile.am 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
This commit is contained in:
parent
2bd1a45553
commit
8c9087dd16
|
@ -1,9 +1,9 @@
|
||||||
AUTOMAKE_OPTIONS = foreign dist-bzip2
|
AUTOMAKE_OPTIONS = foreign dist-bzip2
|
||||||
|
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
doc \
|
|
||||||
src \
|
src \
|
||||||
include \
|
include \
|
||||||
|
doc \
|
||||||
sql \
|
sql \
|
||||||
contrib \
|
contrib \
|
||||||
tests \
|
tests \
|
||||||
|
|
|
@ -14,6 +14,12 @@ if BUILD_MANUALS
|
||||||
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.asciidoc.inc
|
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.asciidoc.inc
|
||||||
|
|
||||||
VTY_REFERENCE = osmohlr-vty-reference.xml
|
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/Makefile.vty-reference.inc
|
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.vty-reference.inc
|
||||||
|
|
||||||
OSMO_REPOSITORY = osmo-hlr
|
OSMO_REPOSITORY = osmo-hlr
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue