Browse Source

manuals: generate vty reference xml at build time

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

Remove bsc_vty_reference.xml 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-bsc --vty-ref-xml cmdline switch.

Depends: I613d692328050a036d05b49a436ab495fc2087ba (osmo-gsm-manuals)
Change-Id: I5dc872149154e1a949bb6a2b9bbc1461e0fc51f6
changes/74/18374/4
Neels Hofmeyr 2 years ago committed by neels
parent
commit
10983f206b
  1. 2
      Makefile.am
  2. 6
      doc/manuals/Makefile.am
  3. 5095
      doc/manuals/vty/bsc_vty_reference.xml

2
Makefile.am

@ -9,10 +9,10 @@ AM_CPPFLAGS = \
$(NULL)
SUBDIRS = \
doc \
include \
src \
tests \
doc \
contrib \
$(NULL)

6
doc/manuals/Makefile.am

@ -19,6 +19,12 @@ if BUILD_MANUALS
aoip-mgw-options.pdf: $(srcdir)/aoip-mgw-options.adoc $(srcdir)/mgw/*.msc
VTY_REFERENCE = osmobsc-vty-reference.xml
BUILT_REFERENCE_XML = $(builddir)/vty/bsc_vty_reference.xml
$(builddir)/vty/bsc_vty_reference.xml: $(top_builddir)/src/osmo-bsc/osmo-bsc
mkdir -p $(builddir)/vty
$(top_builddir)/src/osmo-bsc/osmo-bsc --vty-ref-xml > $@
include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.vty-reference.inc
OSMO_REPOSITORY = osmo-bsc

5095
doc/manuals/vty/bsc_vty_reference.xml

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save