Src=thesis all : tex tex bib tex #commit #all: tex tex tex #done : # @printf "\n\n\n==============================================\n" # @printf "see output in $(HOME)/tmp/$(Src).pdf\n" # @printf "==============================================\n\n\n" # @printf "\n\nWarnings (may be none):\n\n" # grep arning $(HOME)/tmp/${Src}.log #dirs : # - [ ! -d $(HOME)/tmp ] && mkdir $(HOME)/tmp tex : #- pdflatex -output-directory=$(HOME)/tmp $(Src) - pdflatex $(Src) bib : #- bibtex $(HOME)/tmp/$(Src) - bibtex $(Src) commit : - svn add figures/* - svn ci -m "Changed thesis"