From 8d3e9aaede03f3615e5afb82df4d9b530a06a5f0 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 18 Mar 2022 13:05:06 +0000 Subject: Makefile/set_versions: Allow poky.yaml to be autogenerated Use a script to generate the branch/tag information inside poky.yaml. If the branch isn't a known release branch, include git magic to find the closest matching release branch we know about. (From yocto-docs rev: 841e2df0e2e544b82fff9ddd0339a4e775148e3a) Signed-off-by: Richard Purdie --- documentation/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'documentation/Makefile') diff --git a/documentation/Makefile b/documentation/Makefile index f04f381bd2..bec53399c0 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -57,4 +57,5 @@ all: html epub latexpdf # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: + $(SOURCEDIR)/set_versions.py @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) -- cgit v1.2.3-54-g00ecf