File tree Expand file tree Collapse file tree 7 files changed +39
-62
lines changed
Expand file tree Collapse file tree 7 files changed +39
-62
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,8 @@ ide/coqide/index_urls.txt
134134.lia.cache
135135.nia.cache
136136.nra.cache
137+ theories /Makefile.coq
138+ theories /Makefile.coq.conf
137139
138140# emacs save files
139141* ~
Original file line number Diff line number Diff line change 11DUNE =dev/with-rocq-wrap.sh dune
22
3- all :
3+ all install :
4+ +$(MAKE ) -C theories $@
5+
6+ dune :
47 $(DUNE ) build -p rocq-stdlib @install
58
6- install :
9+ dune- install :
710 $(DUNE ) install --root . rocq-stdlib
811
912build-% install-% :
1013 +$(MAKE ) -C theories $@
1114
1215# Make of individual .vo
1316theories/% .vo :
14- $( DUNE ) build $@
17+ + $( MAKE ) -C theories $* .vo
1518
1619refman-html :
1720 $(DUNE ) build --root . --no-buffer @refman-html
Original file line number Diff line number Diff line change @@ -9,25 +9,10 @@ license: "LGPL-2.1-only"
99homepage: "https://coq.inria.fr/"
1010doc: "https://coq.github.io/doc/"
1111bug-reports: "https://github.com/coq/stdlib/issues"
12+ dev-repo: "git+https://github.com/coq/stdlib.git"
1213depends: [
13- "dune" {>= "3.8"}
1414 "coq-core"
1515 "rocq-stdlib" {= version}
16- "odoc" {with-doc}
1716]
18- dev-repo: "git+https://github.com/coq/stdlib.git"
1917build: [
20- ["dune" "subst"] {dev}
21- [
22- "dev/with-rocq-wrap.sh"
23- "dune"
24- "build"
25- "-p"
26- name
27- "-j"
28- jobs
29- "@install"
30- "@runtest" {with-test}
31- "@doc" {with-doc}
32- ]
3318]
Original file line number Diff line number Diff line change 1+ depends: [
2+ "coq-core"
3+ "rocq-stdlib" {= version}
4+ ]
15build: [
2- ["dune" "subst"] {dev}
3- [
4- "dev/with-rocq-wrap.sh"
5- "dune"
6- "build"
7- "-p"
8- name
9- "-j"
10- jobs
11- "@install"
12- "@runtest" {with-test}
13- "@doc" {with-doc}
14- ]
156]
Original file line number Diff line number Diff line change @@ -22,25 +22,14 @@ license: "LGPL-2.1-only"
2222homepage: "https://coq.inria.fr/"
2323doc: "https://coq.github.io/doc/"
2424bug-reports: "https://github.com/coq/stdlib/issues"
25+ dev-repo: "git+https://github.com/coq/stdlib.git"
2526depends: [
26- "dune" {>= "3.8"}
2727 "rocq-runtime"
28- "rocq-core" {= version}
29- "odoc" {with-doc}
28+ "rocq-core" {>= "9.0"}
3029]
31- dev-repo: "git+https://github.com/coq/stdlib.git"
3230build: [
33- ["dune" "subst"] {dev}
34- [
35- "dev/with-rocq-wrap.sh"
36- "dune"
37- "build"
38- "-p"
39- name
40- "-j"
41- jobs
42- "@install"
43- "@runtest" {with-test}
44- "@doc" {with-doc}
45- ]
31+ [make "-j" jobs]
32+ ]
33+ install: [
34+ [make "install"]
4635]
Original file line number Diff line number Diff line change 1+ depends: [
2+ "rocq-runtime"
3+ "rocq-core" {>= "9.0"}
4+ ]
15build: [
2- ["dune" "subst"] {dev}
3- [
4- "dev/with-rocq-wrap.sh"
5- "dune"
6- "build"
7- "-p"
8- name
9- "-j"
10- jobs
11- "@install"
12- "@runtest" {with-test}
13- "@doc" {with-doc}
14- ]
6+ [make "-j" jobs]
7+ ]
8+ install: [
9+ [make "install"]
1510]
Original file line number Diff line number Diff line change @@ -3,6 +3,15 @@ ROCQMAKEFILE?=$(ROCQBIN)rocq makefile
33ROCQMAKEOPTIONS? =
44ROCQMAKEFILEOPTIONS? =
55
6+ all : Makefile.coq
7+ +$(MAKE ) -f $< $(ROCQMAKEOPTIONS )
8+
9+ install : Makefile.coq
10+ +$(MAKE ) -f $< $(ROCQMAKEOPTIONS ) install
11+
12+ Makefile.coq : _CoqProject
13+ $(ROCQMAKEFILE ) $(ROCQMAKEFILEOPTIONS ) -f $< $(shell find . -name "* .v") -o $@
14+
615build-% : Makefile-% .coq
716 +$(MAKE ) -f $< $(ROCQMAKEOPTIONS )
817
@@ -18,3 +27,6 @@ Makefile-%.coq: Make.%
1827
1928install-% : Makefile-% .coq
2029 +$(MAKE ) -f $< $(ROCQMAKEOPTIONS ) install
30+
31+ % .vo : Makefile.coq % .v
32+ +$(MAKE ) -f $< $(ROCQMAKEOPTIONS ) $@
You can’t perform that action at this time.
0 commit comments