aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2018-09-10 14:48:05 +0200
committerRobert Alessi <alessi@robertalessi.net>2018-09-10 14:48:05 +0200
commit0acc26296f54236d2673578da23d453b54fd2786 (patch)
tree90ac87e95be5c542d1b126ef9c7931a4703371e7 /makefile
parent16a82c52098043187ffd8124680c7c27a800b140 (diff)
downloadcourses-0acc26296f54236d2673578da23d453b54fd2786.tar.gz
added pdf: rule in makefile
Diffstat (limited to 'makefile')
-rw-r--r--makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefile b/makefile
index 0844d8f..f05776c 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,13 @@
1all: clean 1all: clean
2 2
3pdf: clean
4 find ./* -type f | grep -v '_.*.tex' | grep 'tex$$' > texfiles
5 while read l ; do \
6 latexmk -cd -lualatex $$l ; \
7 done < texfiles
8 while read l ; do \
9 latexmk -c -cd -lualatex $$l ; \
10 done < texfiles
3clean: 11clean:
4 rm -rf .backup 12 rm -rf .backup
5 find -iname "*~" | xargs rm -rf 13 find -iname "*~" | xargs rm -rf