diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-18 13:05:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-23 12:08:56 +0000 |
commit | 8d3e9aaede03f3615e5afb82df4d9b530a06a5f0 (patch) | |
tree | 15627829c6906f42a9002522606ffdb578ac2530 /documentation/Makefile | |
parent | 93eb983e7936c7592588219e8a548da9b81bb5b2 (diff) | |
download | poky-8d3e9aaede03f3615e5afb82df4d9b530a06a5f0.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/Makefile')
-rw-r--r-- | documentation/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 | |||
57 | # Catch-all target: route all unknown targets to Sphinx using the new | 57 | # Catch-all target: route all unknown targets to Sphinx using the new |
58 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | 58 | # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). |
59 | %: | 59 | %: |
60 | $(SOURCEDIR)/set_versions.py | ||
60 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | 61 | @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |