Added git submodule initialization as a dependency of pygments

This commit is contained in:
Denis Merigoux 2020-05-13 14:20:15 +02:00
parent 4f91e74cb5
commit de3ddfe829

View File

@ -14,9 +14,12 @@ install-dependencies-ocaml:
tls cohttp lwt cohttp-lwt-unix yojson\
re reason
install-dependencies: install-dependencies-ocaml
init-submodules:
git submodule update --init
install-dependencies: install-dependencies-ocaml init-submodules
##########################################
# Catala compiler rules
##########################################
@ -43,11 +46,11 @@ SYNTAX_HIGHLIGHTING_EN=${CURDIR}/syntax_highlighting/en
PYGMENTS_DIR_EN=$(SYNTAX_HIGHLIGHTING_EN)/pygments
PYGMENTIZE_EN=$(PYGMENTS_DIR_EN)/pygments/env/bin/pygmentize
$(PYGMENTIZE_FR): $(SYNTAX_HIGHLIGHTING_FR)/set_up_pygments.sh $(PYGMENTS_DIR_FR)/catala_fr.py
$(PYGMENTIZE_FR): $(SYNTAX_HIGHLIGHTING_FR)/set_up_pygments.sh $(PYGMENTS_DIR_FR)/catala_fr.py init-submodules
chmod +x $<
$<
$(PYGMENTIZE_EN): $(SYNTAX_HIGHLIGHTING_EN)/set_up_pygments.sh $(PYGMENTS_DIR_EN)/catala_en.py
$(PYGMENTIZE_EN): $(SYNTAX_HIGHLIGHTING_EN)/set_up_pygments.sh $(PYGMENTS_DIR_EN)/catala_en.py init-submodules
chmod +x $<
$<