manuals: generate vty reference xml at build time
Remove hnbgw_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-hnbgw --vty-ref-xml cmdline switch. Change-Id: Ia1e978ad9139c41368cd2720c339e1738d345c4a Depends: I613d692328050a036d05b49a436ab495fc2087ba Related: OS#5041
This commit is contained in:
parent
ff8c223440
commit
356f49e723
|
@ -12,6 +12,12 @@ if BUILD_MANUALS
|
||||||
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.asciidoc.inc
|
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.asciidoc.inc
|
||||||
|
|
||||||
VTY_REFERENCE = osmohnbgw-vty-reference.xml
|
VTY_REFERENCE = osmohnbgw-vty-reference.xml
|
||||||
|
|
||||||
|
BUILT_REFERENCE_XML = $(builddir)/vty/hnbgw_vty_reference.xml
|
||||||
|
$(builddir)/vty/hnbgw_vty_reference.xml: $(top_builddir)/src/osmo-hnbgw
|
||||||
|
mkdir -p $(builddir)/vty
|
||||||
|
$(top_builddir)/src/osmo-hnbgw --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-hnbgw
|
OSMO_REPOSITORY = osmo-hnbgw
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue