Created
June 28, 2013 15:20
-
-
Save matze/5885476 to your computer and use it in GitHub Desktop.
rubber-based LaTeX compilation Makefile
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
SRC=$(wildcard *.tex) | |
OPTS=--pdf | |
.PHONY: clean | |
all: $(patsubst %.tex,%.pdf,$(SRC)) | |
%.pdf: %.tex | |
@rubber $(OPTS) $< | |
clean: | |
@rubber --clean $(OPTS) $(SRC) | |
@rm -f $(patsubst %.tex,%-blx.bib,$(SRC)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment