Skip to content

Commit 3ea432d

Browse files
committed
Change name of update to Makefile.release
Per #487 (comment)
1 parent 055782a commit 3ea432d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Makefile renamed to Makefile.release

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Copyright 2024 The Khronos Group Inc.
22
# SPDX-License-Identifier: Apache-2.0
33

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.
66

77
# Needed to get the right version of test, apparently
88
SHELL = /bin/bash
@@ -15,13 +15,13 @@ SPEC = $(GIT)/Vulkan-Docs
1515
HPP = $(GIT)/Vulkan-Hpp
1616
REGISTRY = $(GIT)/registry/vulkan
1717

18-
update: consistency-check create-branch update-files push-branch
18+
update: version-check create-branch update-files push-branch
1919

2020
# Working branch for the update, and a test if it exists
2121
BRANCH = update-$(REVISION)
2222

2323
# Switch to new branch which will contain the update
24-
create-branch: consistency-check
24+
create-branch: version-check
2525
git switch -q main
2626
git pull -q
2727
# If branch already exists, do nothing
@@ -55,7 +55,7 @@ update-headers:
5555
cp -r $(HPP)/vulkan/* include/vulkan/
5656
rm -f $(SCHPPFILES)
5757

58-
# Top-level scripts / XML
58+
# Top-level scripts / XML to install
5959
SCRIPTS = \
6060
$(SPEC)/scripts/cgenerator.py \
6161
$(SPEC)/scripts/generator.py \
@@ -68,12 +68,12 @@ SCRIPTS = \
6868
$(SPEC)/xml/video.xml \
6969
$(REGISTRY)/specs/1.3-extensions/validation/validusage.json
7070

71-
# Scripts in registry/spec_tools
71+
# Scripts in registry/spec_tools to install
7272
SCRIPT_TOOLS = \
7373
$(SPEC)/scripts/spec_tools/conventions.py \
7474
$(SPEC)/scripts/spec_tools/util.py
7575

76-
# Profiles
76+
# Profiles to install
7777
PROFILES = \
7878
$(wildcard $(SPEC)/xml/profiles/*)
7979

@@ -104,5 +104,5 @@ push-branch:
104104
@echo git push --set-upstream origin $(BRANCH)
105105
@echo git switch main
106106

107-
consistency-check:
107+
version-check:
108108
@if test $(REVISION) = 999 ; then echo "Must specify explicit REVISION= in make invocation" ; exit 1 ; fi

0 commit comments

Comments
 (0)