set up packages
This commit is contained in:
parent
8497b89ed2
commit
641b48a247
5 changed files with 29 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "latex-packages-build"]
|
||||||
|
path = latex-packages-build
|
||||||
|
url = ../../latex/latex-packages-build
|
3
.latexmkrc
Normal file
3
.latexmkrc
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
ensure_path('TEXINPUTS', './LatexPackagesBuild//'); # set texinputs to find custom packages
|
||||||
|
$pdf_mode = 1; # generate a pdf file by default
|
||||||
|
$out_dir = 'build';
|
21
Makefile
Normal file
21
Makefile
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
pdf: init
|
||||||
|
latexmk -halt-on-error < /dev/null
|
||||||
|
|
||||||
|
clean:
|
||||||
|
latexmk -c
|
||||||
|
|
||||||
|
clean-all:
|
||||||
|
latexmk -C
|
||||||
|
rm -rf build/
|
||||||
|
|
||||||
|
## Stuff to set up repository after cloning
|
||||||
|
|
||||||
|
init: .init-submodule-cert
|
||||||
|
|
||||||
|
.init-submodule-cert:
|
||||||
|
@echo "[Make] Initialising git submodule for packages"
|
||||||
|
git submodule update --init --rebase
|
||||||
|
@touch .init-submodule-cert
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: pdf, clean, clean-all
|
1
export_texinputs.sh
Executable file
1
export_texinputs.sh
Executable file
|
@ -0,0 +1 @@
|
||||||
|
export TEXINPUTS=LatexPackagesBuild//:
|
1
latex-packages-build
Submodule
1
latex-packages-build
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 983a40d500bf4401e7c18ceaa960170dad133ca0
|
Loading…
Reference in a new issue