Rename extension dependency generator script to avoid Python import confusion

This commit is contained in:
Jon Leech 2019-03-19 02:14:15 -07:00
parent 0aca7bb22e
commit 1f1a557801
3 changed files with 8 additions and 8 deletions

View File

@ -443,7 +443,7 @@ generated: $(SCRIPTS)/vkapi.py $(GENDEPENDS)
config/extDependency.sh: config/extDependency.stamp
config/extDependency.py: config/extDependency.stamp
DEPSCRIPT = $(SCRIPTS)/extDependency.py
DEPSCRIPT = $(SCRIPTS)/make_ext_dependency.py
config/extDependency.stamp: $(VKXML) $(DEPSCRIPT)
$(QUIET)$(PYTHON) $(DEPSCRIPT) -registry $(VKXML) \
-outscript config/extDependency.sh \

View File

@ -26,8 +26,8 @@ Scripts in this directory include:
generated HTML specification.
* check_spec_links.py - validates a variety of markup and content in the
Asciidoctor specification source.
* extDependency.py - generate extension dependencies in Bash and Python
form for use when building the specification.
* make_ext_dependency.py - generate extension dependencies in Bash and
Python form for use when building the specification.
* genRelease, genspec.py - build HTML and PDF Specifications with a
variety of options to control target directories, extensions included
while building, etc.

View File

@ -14,8 +14,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# extDependency - generate a mapping of extension name -> all required
# extension names for that extension.
# make_ext_dependency.py - generate a mapping of extension name -> all
# required extension names for that extension.
# This script generates a list of all extensions, and of just KHR
# extensions, that are placed into a Bash script and/or Python script. This
@ -25,7 +25,7 @@
#
# Sample Usage:
#
# python3 scripts/extDependency.py -outscript=temp.sh
# python3 scripts/make_ext_dependency.py -outscript=temp.sh
# source temp.sh
# make EXTENSIONS="$khrExts" html
# rm temp.sh
@ -186,7 +186,7 @@ if __name__ == '__main__':
fp = open(args.outscript, 'w', encoding='utf-8')
print('#!/bin/bash', file=fp)
print('# Generated from extDependency.py', file=fp)
print('# Generated from make_ext_dependency.py', file=fp)
print('# Specify maps of all extensions required by an enabled extension', file=fp)
print('', file=fp)
print('declare -A extensions', file=fp)
@ -212,7 +212,7 @@ if __name__ == '__main__':
fp = open(args.outpy, 'w', encoding='utf-8')
print('#!/usr/bin/env python', file=fp)
print('# Generated from extDependency.py', file=fp)
print('# Generated from make_ext_dependency.py', file=fp)
print('# Specify maps of all extensions required by an enabled extension', file=fp)
print('', file=fp)
print('extensions = {}', file=fp)