Reorganized the folders and started a common script for the lectures.
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
BASENAME=scientificcomputing-script
|
||||
|
||||
pdf : $(BASENAME).pdf
|
||||
|
||||
$(BASENAME).pdf : $(BASENAME).tex
|
||||
export TEXMFOUTPUT=.; pdflatex -interaction=scrollmode $< | tee /dev/stderr | fgrep -q "Rerun to get cross-references right" && pdflatex -interaction=scrollmode $< || true
|
||||
|
||||
clean :
|
||||
rm -f *~ $(BASENAME).aux $(BASENAME).log $(BASENAME).out $(BASENAME).toc
|
||||
|
||||
cleanall : clean
|
||||
rm -f $(PDFFILE)
|
||||
|
||||
watch :
|
||||
while true; do ! make -q pdf && make pdf; sleep 0.5; done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user