updated makefile and .gitignore to us latexmk instead of rubber
This commit is contained in:
12
letter_template/.gitignore
vendored
Normal file
12
letter_template/.gitignore
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
/auto/
|
||||
/vc
|
||||
/refs-processed.bib
|
||||
/*.aux
|
||||
/*.bbl
|
||||
/*.blg
|
||||
/*.log
|
||||
/*.out
|
||||
/*.pdf
|
||||
/*.fdb_latexmk
|
||||
/*.fls
|
||||
/*.ttt
|
||||
@@ -1,21 +1,21 @@
|
||||
#!/usr/bin/make
|
||||
|
||||
all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))
|
||||
pdf: all
|
||||
|
||||
%.pdf: %.tex
|
||||
rubber -fd $<
|
||||
%.pdf: %.tex
|
||||
latexmk -f -pdf $<
|
||||
|
||||
clean:
|
||||
rubber -d --clean *.tex
|
||||
latexmk -C *.tex
|
||||
rm -f *.tmp
|
||||
rm -f figures/*.pdf
|
||||
rm -f vc
|
||||
|
||||
viewpdf: all
|
||||
evince *.pdf
|
||||
|
||||
spell:
|
||||
aspell -c -t --tex-check-comments -b text.tex
|
||||
vc:
|
||||
vc-git
|
||||
|
||||
pdf: all
|
||||
|
||||
.PHONY: clean all
|
||||
|
||||
Reference in New Issue
Block a user