Created
June 29, 2015 15:25
-
-
Save johnjosephhorton/118e251163515ef5703f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ts := $(shell /bin/date "+%Y-%m-%d---%H-%M-%S") | |
project.pdf: project.bib project.tex | |
pdflatex -interaction=nonstopmode project | |
bibtex project | |
pdflatex -interaction=nonstopmode project | |
pdflatex -interaction=nonstopmode project | |
backup: | |
tar --exclude='../backups' -zcvf ../backups/project_$(ts).tar.gz ../ | |
snapshot: | |
@echo Timestamp is $(ts) | |
cp project.pdf ../snapshots/project_$(ts).pdf | |
clean: | |
rm *.aux *.log *.out *.bbl *.blg *.dvi *.aux *.fff *.lof *.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment