Created
October 19, 2011 20:33
-
-
Save rbonvall/1299581 to your computer and use it in GitHub Desktop.
Simple Makefile for LaTeX documents. You have to install rubber beforehand.
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
TEXFILES = $(wildcard *.tex) | |
PDFFILES = $(TEXFILES:.tex=.pdf) | |
all: pdf | |
pdf: $(PDFFILES) | |
%.pdf: %.tex | |
@rubber --pdf $< | |
clean: | |
@rubber --clean --pdf $(TEXFILES:.tex=) | |
.PHONY: pdf clean all | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment