-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new Makefile targets in the Vulkan-Docs directory
Very temporary change to ci.yml to pull from the Vulkan-Docs branch with that change, prior to it being merged, to ensure the site build in this repo works.
- Loading branch information
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,10 +46,14 @@ init: subrepos | |
(echo Installing node modules in $$dir: && cd $$dir && npm install) ; \ | ||
done | ||
|
||
subrepos: $(REPONAMES) | ||
subrepos: | ||
for repo in $(REPONAMES) ; do \ | ||
echo Cloning $$repo && \ | ||
test -d $$repo || git clone [email protected]:KhronosGroup/$$repo.git ; \ | ||
if test -d $$repo ; then \ | ||
echo "Not cloning repo $$repo, already exists" ; \ | ||
else \ | ||
git clone [email protected]:KhronosGroup/$$repo.git ; \ | ||
fi ; \ | ||
done | ||
|
||
# Build UI bundle | ||
|
@@ -65,12 +69,12 @@ build-ui: | |
prep-sources: prep-docs prep-guide prep-samples prep-tutorial | ||
|
||
# Prepare Vulkan-Docs | ||
GENPATH = Vulkan-Docs/antora/spec/modules/ROOT/partials/gen | ||
GENPATH = Vulkan-Docs/gen | ||
prep-docs: | ||
make -C Vulkan-Docs -f antora/Makefile clean setup | ||
make -C Vulkan-Docs setup_antora | ||
cp $(GENPATH)/apimap.cjs \ | ||
$(GENPATH)/pageMap.cjs \ | ||
Vulkan-Docs/antora/spec/xrefMap.cjs \ | ||
$(GENPATH)/xrefMap.cjs \ | ||
docs-site/js/ | ||
|
||
prep-guide: | ||
|