Commit 0875cf30 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰

[#10,!3] Couple convenience make targets added

parent 66a390fe
...@@ -74,12 +74,21 @@ guide: ...@@ -74,12 +74,21 @@ guide:
clean: clean:
rm -rf html rm -rf html
templates: # This target will generate templates. There's no need to run it, unless
# new commands have been added or there are existing commands that are
# still not documented.
templates: docgen
docgen/generate-templates docgen/cmds-list docgen/generate-templates docgen/cmds-list
api: templates # This will generate the api.xml file using docgen generator. It will
# read the JSON files from api/ directory. Make sure they're up to date.
api: templates docgen
docgen/kea-docgen api/*.json docgen/kea-docgen api/*.json
# This convenience target makes sure the docgen tool is built properly
docgen:
$(MAKE) -C docgen
# That's a bit of a hack, but we are making sure that devel target # That's a bit of a hack, but we are making sure that devel target
# is always valid. The alternative is to make devel depend on all # is always valid. The alternative is to make devel depend on all
# *.cc *.h files in the whole tree. # *.cc *.h files in the whole tree.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment