aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-07-15 15:22:31 -0400
committerDave Wallace <dwallacelf@gmail.com>2019-07-17 13:41:02 +0000
commit9529feb4525dfd13e5636640083361256121d275 (patch)
tree3422ce636b9c97458f258e7b25d43cba50b9ceef /Makefile
parent6e8b811ee409bff97996cd60d2ae04e884fd66d3 (diff)
build: add targets for json api files
Type: make Ticket: VPP-1715 Change-Id: I78497d679d9e793b47a06a0c5cb3b12d86b08489 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
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 $<