Skip to content
Snippets Groups Projects
Commit 9f99f33f authored by Björn Brandenburg's avatar Björn Brandenburg
Browse files

Makefile: allow alectryon to work in parallel

parent 1ef392cc
No related branches found
No related tags found
1 merge request!136Use alectryon to generate doc with proof state
Pipeline #51281 passed with warnings
This commit is part of merge request !136. Comments created here will be created in the context of that merge request.
......@@ -18,3 +18,4 @@ Makefile*
*.DS_Store
/proof-state
/with-proof-state
/html-alectryon
......@@ -211,9 +211,7 @@ proof-state:
script:
- eval $(opam env "--switch=${COMPILER_EDGE}" --set-switch)
- ./create_makefile.sh --without-classic
- make -j ${NJOBS}
- make alectryon
- mv html html-alectryon
- make -j ${NJOBS} alectryon
artifacts:
name: "prosa-proof-state-$CI_COMMIT_REF_NAME"
paths:
......
alectryon: $(GLOBFILES) $(VFILES)
$(SHOW)'Running alectryon on all .v files'
$(HIDE)scripts/alectryon.sh $(VFILES)
ALECTRYONFILES = $(patsubst %,html-alectryon/prosa.%,$(subst /,.,$(subst ./,,$(VFILES:.v=.html))))
html-alectryon/%.html: $(VOFILES)
$(HIDE)scripts/alectryon.sh $(patsubst %,%.v,$(subst html-alectryon/prosa/,,$(subst .,/,$(@:.html=))))
alectryon: $(ALECTRYONFILES)
......@@ -2,7 +2,7 @@
set -e
ALE="alectryon"
OUT="./html"
OUT="./html-alectryon"
mkdir -p "$OUT"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment