Skip to content
Snippets Groups Projects
Unverified Commit 9a09249d authored by Max Ole Elliger's avatar Max Ole Elliger :penguin:
Browse files

Merge tag 'comoproj-v2.7.0' into pre-release/comoproj/coqc-8.16.1-ocaml-4.13.1

Included coqdocjs
parents 7b8f4361 da69a0fc
No related branches found
No related tags found
No related merge requests found
Pipeline #136233 passed
...@@ -14,6 +14,10 @@ ...@@ -14,6 +14,10 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
variables:
GIT_SUBMODULE_STRATEGY: recursive
GIT_SUBMODULE_FORCE_HTTPS: "true"
stages: stages:
- build - build
......
[submodule "coqdocjs"]
path = coqdocjs
url = https://github.com/coq-community/coqdocjs.git
...@@ -17,15 +17,11 @@ ...@@ -17,15 +17,11 @@
# Configuration # Configuration
#TODO Change the following lines for configuration. #TODO Change the following lines for configuration.
PROJNAME = CoMoProj
COMPONENTS := src:SRC COMPONENTS := src:SRC
COQDOC_FLAGS = --utf8 COQDOC_FLAGS = --utf8
all: coq html all: coqdoc
coq: Makefile.coq
$(MAKE) -f Makefile.coq all
define GENCoqDoc define GENCoqDoc
BEGIN { RS="[[:space:]]"; FS=":" } \ BEGIN { RS="[[:space:]]"; FS=":" } \
...@@ -46,7 +42,7 @@ html: Makefile.coq ...@@ -46,7 +42,7 @@ html: Makefile.coq
VFILES="$(shell echo $(COMPONENTS) | awk '$(GENCoqDoc)')" $(MAKE) -e -f Makefile.coq html VFILES="$(shell echo $(COMPONENTS) | awk '$(GENCoqDoc)')" $(MAKE) -e -f Makefile.coq html
Makefile.coq: _CoqProject Makefile.coq: _CoqProject
coq_makefile -f $< -o $@ COQDOCEXTRAFLAGS = "--lib-name $(PROJNAME)" coq_makefile -f $< -o $@
clean: Makefile.coq clean: Makefile.coq
$(MAKE) -f $< cleanall $(MAKE) -f $< cleanall
...@@ -74,4 +70,7 @@ endef ...@@ -74,4 +70,7 @@ endef
_CoqProject: Makefile $(shell echo $(COMPONENTS) | awk '$(GENDirList)') _CoqProject: Makefile $(shell echo $(COMPONENTS) | awk '$(GENDirList)')
echo $(COMPONENTS) | awk '$(GENCoqPr)' > $@ echo $(COMPONENTS) | awk '$(GENCoqPr)' > $@
.PHONY: all coq html clean .PHONY: all html clean
COQMAKEFILE := Makefile # Do not change!
include coqdocjs/Makefile.doc
Subproject commit 57401849fffb24500c078973a8382dd3086fd2bf
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment