makefile: add api-report-updates target

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2022-08-16 14:20:09 -04:00 committed by mergify[bot]
parent e5f0dbcfea
commit 7b73ae7bdd
1 changed files with 7 additions and 0 deletions

View File

@ -276,6 +276,13 @@ api-fix-versions:
api-doc:
./contrib/apiage.py --mode=write-doc
api-report-updates: $(RESULTS_DIR)
./contrib/apiage.py --mode=find-updates \
--current-tag="$$(git describe --tags --abbrev=0)" \
> $(RESULTS_DIR)/updates-found.json
./contrib/apiage.py --mode=updates-to-markdown \
< $(RESULTS_DIR)/updates-found.json > $(RESULTS_DIR)/updates-found.md
ifeq ($(RESULTS_DIR),)
IMPLEMENTS_DIR:=$(PWD)/_results
else