diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2020-06-19 22:57:39 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2020-06-19 23:00:28 +0200 |
commit | d43d7e8e306b44221d9e5d17cbecf1047e6715c4 (patch) | |
tree | 437f9e3c36fc29331339c21c64f6094195d11fde /doc/manuals/Makefile.am | |
parent | 8a234460c0cee5e250b3f562c7c944efc8a84fca (diff) |
manuals: generate vty reference xml at build timeneels/vtyref
Move 'doc' subdir further down to "make sure" the osmo-msc binary is built
before the docs.
Remove msc_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-msc --vty-ref-xml cmdline switch.
Depends: I613d692328050a036d05b49a436ab495fc2087ba (osmo-gsm-manuals)
Change-Id: Ib872e7979c5b5a9da1347a3f326307844cf76536
Diffstat (limited to 'doc/manuals/Makefile.am')
-rw-r--r-- | doc/manuals/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/manuals/Makefile.am b/doc/manuals/Makefile.am index 3b50d4e9a..8ef124a90 100644 --- a/doc/manuals/Makefile.am +++ b/doc/manuals/Makefile.am @@ -14,6 +14,11 @@ if BUILD_MANUALS VTY_REFERENCE = osmomsc-vty-reference.xml include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.vty-reference.inc + BUILT_REFERENCE_XML = $(builddir)/vty/msc_vty_reference.xml + $(builddir)/vty/msc_vty_reference.xml: $(top_builddir)/src/osmo-msc/osmo-msc + mkdir -p $(builddir)/vty + $(top_builddir)/src/osmo-msc/osmo-msc --vty-ref-xml > $@ + OSMO_REPOSITORY = osmo-msc include $(OSMO_GSM_MANUALS_DIR)/build/Makefile.common.inc endif |