From 9529feb4525dfd13e5636640083361256121d275 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Mon, 15 Jul 2019 15:22:31 -0400 Subject: build: add targets for json api files Type: make Ticket: VPP-1715 Change-Id: I78497d679d9e793b47a06a0c5cb3b12d86b08489 Signed-off-by: Paul Vinciguerra --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ded43ea4fd5..0c8b1730023 100644 --- a/Makefile +++ b/Makefile @@ -218,6 +218,8 @@ help: @echo " wipe-doxygen - wipe all generated documentation" @echo " checkfeaturelist - check FEATURE.yaml according to schema" @echo " featurelist - dump feature list in markdown" + @echo " json-api-files - (re)-generate json api files" + @echo " json-api-files-debug - (re)-generate json api files for debug target" @echo " docs - Build the Sphinx documentation" @echo " docs-venv - Build the virtual environment for the Sphinx docs" @echo " docs-clean - Remove the generated files from the Sphinx docs" @@ -534,6 +536,12 @@ dpdk-install-dev: install-ext-deps: make -C build/external install-$(PKG) +json-api-files: + $(WS_ROOT)/src/tools/vppapigen/generate_json.py + +json-api-files-debug: + $(WS_ROOT)/src/tools/vppapigen/generate_json.py --debug-target + ctags: ctags.files @ctags --totals --tag-relative -L $< @rm $< -- cgit 1.2.3-korg