aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefile b/makefile
index 25be7fc..02442bf 100644
--- a/makefile
+++ b/makefile
@@ -1,7 +1,7 @@
1all: pdf 1all: pdf
2 2
3pdf: clean 3pdf: 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
12clean: 12clean:
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 *