diff options
author | Robert Alessi <alessi@robertalessi.net> | 2018-09-14 15:31:18 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2018-09-14 15:31:18 +0200 |
commit | bc758f2280ab4b43d43da990b60ece3d6b1512a0 (patch) | |
tree | 4bdbbf20ce86ff00d480e51e316381f5c294cece /makefile | |
parent | b6d076b7a73f55688019e408b4667a219b674bb7 (diff) | |
download | courses-bc758f2280ab4b43d43da990b60ece3d6b1512a0.tar.gz |
added fichiers/02-tableur_bdd.tex
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ | |||
1 | all: pdf | 1 | all: pdf |
2 | 2 | ||
3 | pdf: clean | 3 | pdf: clean |
4 | find ./* -type f | grep -v '_.*.tex' | grep 'tex$$' > texfiles | 4 | find ./* -type f | grep -v '/_.*.tex' | grep 'tex$$' > texfiles |
5 | while read l ; do \ | 5 | while read l ; do \ |
6 | latexmk -quiet -cd -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' $$l ; \ | 6 | latexmk -quiet -cd -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' $$l ; \ |
7 | done < texfiles | 7 | done < texfiles |
@@ -12,7 +12,7 @@ pdf: clean | |||
12 | clean: | 12 | clean: |
13 | rm -rf .backup | 13 | rm -rf .backup |
14 | find -iname "*~" | xargs rm -rf | 14 | find -iname "*~" | xargs rm -rf |
15 | find ./* -type f | grep 'makefile\|\.md$$\|\.tex$$' > ls-R | 15 | find ./* -type f | grep 'makefile\|\.md$$\|\.png$$\|\.tex$$' > ls-R |
16 | rsync -avPr --files-from=ls-R . .backup | 16 | rsync -avPr --files-from=ls-R . .backup |
17 | cp ls-R .backup | 17 | cp ls-R .backup |
18 | rm -rf * | 18 | rm -rf * |