summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJon Leech <[email protected]>2024-07-07 02:40:44 -0700
committerCharles Giessen <[email protected]>2024-07-07 14:05:33 -0500
commit4b9ea26d48f23e260c57bece311660d9e5c7ff23 (patch)
treec97fbf59a44d51c8431103e4e3b54cad15610a8d
parent67dcf5647c697a3a21fc6fa4976b1ec57338fb51 (diff)
downloadVulkan-Headers-4b9ea26d48f23e260c57bece311660d9e5c7ff23.tar.gz
Vulkan-Headers-4b9ea26d48f23e260c57bece311660d9e5c7ff23.zip
Change name of update to Makefile.releasevulkan-tmp-1.3.289
Per https://github.com/KhronosGroup/Vulkan-Headers/pull/487#issuecomment-2187478137
-rw-r--r--Makefile.release (renamed from Makefile)16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile.release
index 671c179..cdfd0af 100644
--- a/Makefile
+++ b/Makefile.release
@@ -1,8 +1,8 @@
# Copyright 2024 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0
-# Makefile to update external files generated in other repositories when
-# a public specification update is done.
+# Makefile.release - update external files generated in Vulkan spec
+# repository when a public specification update is done.
# Needed to get the right version of test, apparently
SHELL = /bin/bash
@@ -15,13 +15,13 @@ SPEC = $(GIT)/Vulkan-Docs
HPP = $(GIT)/Vulkan-Hpp
REGISTRY = $(GIT)/registry/vulkan
-update: consistency-check create-branch update-files push-branch
+update: version-check create-branch update-files push-branch
# Working branch for the update, and a test if it exists
BRANCH = update-$(REVISION)
# Switch to new branch which will contain the update
-create-branch: consistency-check
+create-branch: version-check
git switch -q main
git pull -q
# If branch already exists, do nothing
@@ -55,7 +55,7 @@ update-headers:
cp -r $(HPP)/vulkan/* include/vulkan/
rm -f $(SCHPPFILES)
-# Top-level scripts / XML
+# Top-level scripts / XML to install
SCRIPTS = \
$(SPEC)/scripts/cgenerator.py \
$(SPEC)/scripts/generator.py \
@@ -68,12 +68,12 @@ SCRIPTS = \
$(SPEC)/xml/video.xml \
$(REGISTRY)/specs/1.3-extensions/validation/validusage.json
-# Scripts in registry/spec_tools
+# Scripts in registry/spec_tools to install
SCRIPT_TOOLS = \
$(SPEC)/scripts/spec_tools/conventions.py \
$(SPEC)/scripts/spec_tools/util.py
-# Profiles
+# Profiles to install
PROFILES = \
$(wildcard $(SPEC)/xml/profiles/*)
@@ -104,5 +104,5 @@ push-branch:
@echo git push --set-upstream origin $(BRANCH)
@echo git switch main
-consistency-check:
+version-check:
@if test $(REVISION) = 999 ; then echo "Must specify explicit REVISION= in make invocation" ; exit 1 ; fi