manuals: generate vty reference xml at build time
Rremove osmo-stp_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-stp --vty-ref-xml cmdline switch. Change-Id: I5bcbbdf7b737d2ce36ea877bc78c8cf191a64e1b Depends: I613d692328050a036d05b49a436ab495fc2087ba Related: OS#5041
This commit is contained in:
parent
6d8d9b3ced
commit
2181d644bc
|
@ -12,6 +12,12 @@ if BUILD_MANUALS
|
|||
aoip-mgw-options.pdf: $(srcdir)/aoip-mgw-options.adoc $(srcdir)/mgw/*.msc
|
||||
|
||||
VTY_REFERENCE = osmostp-vty-reference.xml
|
||||
|
||||
BUILT_REFERENCE_XML = $(builddir)/vty/osmo-stp_vty_reference.xml
|
||||
$(builddir)/vty/osmo-stp_vty_reference.xml: $(top_builddir)/stp/osmo-stp
|
||||
mkdir -p $(builddir)/vty
|
||||
$(top_builddir)/stp/osmo-stp --vty-ref-xml > $@
|
||||
|
||||
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.vty-reference.inc
|
||||
|
||||
OSMO_REPOSITORY=osmo-stp
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
<vtydoc xmlns='urn:osmocom:xml:libosmocore:vty:doc:1.0'>
|
||||
</vtydoc>
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue