Skip to content

Instantly share code, notes, and snippets.

@woodRock
Created September 7, 2020 03:31
Show Gist options
  • Save woodRock/053dc66cd3f58d62a15865030f499938 to your computer and use it in GitHub Desktop.
Save woodRock/053dc66cd3f58d62a15865030f499938 to your computer and use it in GitHub Desktop.
LaTeX makefile. Assumes latexmk is installed on the system. Clears the files associated with the previous build to prevent errors. Builds a pdf from the .tex files present in the repository. Removes the auxiliary files.
make: *.tex
latexmk -c
latexmk -pdf *.tex
latexmk -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment