1
1
# Copyright 2024 The Khronos Group Inc.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- # Makefile to update external files generated in other repositories when
5
- # a public specification update is done.
4
+ # Makefile.release - update external files generated in Vulkan spec
5
+ # repository when a public specification update is done.
6
6
7
7
# Needed to get the right version of test, apparently
8
8
SHELL = /bin/bash
@@ -15,13 +15,13 @@ SPEC = $(GIT)/Vulkan-Docs
15
15
HPP = $(GIT)/Vulkan-Hpp
16
16
REGISTRY = $(GIT)/registry/vulkan
17
17
18
- update : consistency -check create-branch update-files push-branch
18
+ update: version -check create-branch update-files push-branch
19
19
20
20
# Working branch for the update, and a test if it exists
21
21
BRANCH = update-$(REVISION)
22
22
23
23
# Switch to new branch which will contain the update
24
- create-branch : consistency -check
24
+ create-branch: version -check
25
25
git switch -q main
26
26
git pull -q
27
27
# If branch already exists, do nothing
@@ -55,7 +55,7 @@ update-headers:
55
55
cp -r $(HPP)/vulkan/* include/vulkan/
56
56
rm -f $(SCHPPFILES)
57
57
58
- # Top-level scripts / XML
58
+ # Top-level scripts / XML to install
59
59
SCRIPTS = \
60
60
$(SPEC)/scripts/cgenerator.py \
61
61
$(SPEC)/scripts/generator.py \
@@ -68,12 +68,12 @@ SCRIPTS = \
68
68
$(SPEC)/xml/video.xml \
69
69
$(REGISTRY)/specs/1.3-extensions/validation/validusage.json
70
70
71
- # Scripts in registry/spec_tools
71
+ # Scripts in registry/spec_tools to install
72
72
SCRIPT_TOOLS = \
73
73
$(SPEC)/scripts/spec_tools/conventions.py \
74
74
$(SPEC)/scripts/spec_tools/util.py
75
75
76
- # Profiles
76
+ # Profiles to install
77
77
PROFILES = \
78
78
$(wildcard $(SPEC)/xml/profiles/*)
79
79
@@ -104,5 +104,5 @@ push-branch:
104
104
@echo git push --set-upstream origin $(BRANCH)
105
105
@echo git switch main
106
106
107
- consistency -check :
107
+ version -check:
108
108
@if test $(REVISION) = 999 ; then echo "Must specify explicit REVISION= in make invocation" ; exit 1 ; fi
0 commit comments