Skip to content
Snippets Groups Projects
Verified Commit 9c75f455 authored by Malin Freeborn's avatar Malin Freeborn
Browse files

update Make and CI for submodule

parent c7d05ac8
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,9 @@ compile_pdf:
image: ctornau/latex
script:
- apt-get update -y
- apt-get install -y inkscape make
- apt-get install -y inkscape make git-lfs
- git submodule update --init
- git submodule foreach git lfs pull
- make
- make resources
- make ref
......
......@@ -2,8 +2,10 @@ filename=main
branch := $(shell git rev-parse --abbrev-ref HEAD)
output: ${filename}.pdf
${filename}.pdf: ${filename}.ind ${filename}.glg
svg-inkscape:
svg-inkscape: config/bind.sty
pdflatex -shell-escape ${filename}.tex
config/bind.sty:
git submodule update --init
${filename}.ind: svg-inkscape ${filename}.idx $(wildcard *.tex)
pdflatex ${filename}.tex
makeindex ${filename}.idx
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment