Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile.coq.local
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ CORE_DPDFILES=$(patsubst theories.%,file-dep-graphs/HoTT.%,$(subst /,.,$(CORE_VF
# The list of files from contrib
CONTRIB_VOFILES=$(CONTRIB_VFILES:.v=.$(VO))
CONTRIB_GLOBFILES=$(CONTRIB_VFILES:.v=.glob)
CONTRIB_HTMLFILES=$(patsubst contrib.%,html/HoTT.Contrib.%,$(subst /,.,$(CONTRIB_VFILES:.v=.html)))
CONTRIB_HTMLFILES=$(patsubst contrib.%,html/HoTT_Contrib.%,$(subst /,.,$(CONTRIB_VFILES:.v=.html)))
CONTRIB_TIMING_HTMLFILES=$(patsubst html/%,timing-html/%,$(CONTRIB_HTMLFILES))

# I'm not sure why we needs = rather than :=, but we seem to
Expand Down Expand Up @@ -160,7 +160,7 @@ $(CORE_TIMING_HTMLFILES) $(CATEGORY_TIMING_HTMLFILES): timing-html/HoTT.%.html :
$(SHOW)'TIME2HTML HoTT.$* > $@'
$(HIDE) etc/time2html "$(<:.vo=.v.timing)" "$(<:.vo=.v)" > $@

$(CONTRIB_TIMING_HTMLFILES): timing-html/HoTT.Contrib.%.html : contrib/$$(subst .,/,$$*).vo etc/time2html
$(CONTRIB_TIMING_HTMLFILES): timing-html/HoTT_Contrib.%.html : contrib/$$(subst .,/,$$*).vo etc/time2html
@ mkdir -p $(dir $@)
$(SHOW)'TIME2HTML $* > $@'
$(HIDE) etc/time2html "$(<:.vo=.v.timing)" "$(<:.vo=.v)" > $@
Expand Down
2 changes: 1 addition & 1 deletion contrib/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(coq.theory
(name HoTT.Contrib)
(name HoTT_Contrib)
(package coq-hott)
(theories HoTT))
4 changes: 2 additions & 2 deletions dune
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
HoTT
-Q
contrib
HoTT.Contrib
HoTT_Contrib
-Q
test
HoTT.Tests
HoTT_Tests
%{deps}
-o)))

Expand Down
8 changes: 4 additions & 4 deletions etc/generate_coqproject.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ COQPROJECT_HEADER=\
# found in etc/. It is set to be untracked by git.
###############################################################################
-R theories HoTT
-Q contrib HoTT.Contrib
-Q test HoTT.Tests
-Q contrib HoTT_Contrib
-Q test HoTT_Tests
-arg -noinit
-arg -indices-matter
Expand All @@ -38,8 +38,8 @@ if [ "$GENERATE_COQPROJECT_FOR_DUNE" == "true" ]; then
COQPROJECT_HEADER="$COQPROJECT_HEADER
# Dune compatibility
-R _build/default/theories HoTT
-Q _build/default/contrib HoTT.Contrib
-Q _build/default/test HoTT.Tests
-Q _build/default/contrib HoTT_Contrib
-Q _build/default/test HoTT_Tests
"
fi

Expand Down
2 changes: 1 addition & 1 deletion test/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(coq.theory
(name HoTT.Tests)
(name HoTT_Tests)
(theories HoTT))

(include_subdirs qualified)
Expand Down
Loading