Merging with latest modifications

This commit is contained in:
Roberto Metere
2016-11-24 12:34:09 +00:00
parent 15d9369a8f
commit 290ba74b02
8 changed files with 72 additions and 726 deletions

View File

@@ -1,3 +1,22 @@
.PHONY: examples
test:
cd examples/ ; for f in *.tex; do xelatex $$f; done
CC = xelatex
EXAMPLES_DIR = examples
RESUME_DIR = examples/resume
CV_DIR = examples/cv
RESUME_SRCS = $(shell find $(RESUME_DIR) -name '*.tex')
CV_SRCS = $(shell find $(CV_DIR) -name '*.tex')
examples: $(foreach x, coverletter cv resume, $x.pdf)
resume.pdf: $(EXAMPLES_DIR)/resume.tex $(RESUME_SRCS)
$(CC) -output-directory=$(EXAMPLES_DIR) $<
cv.pdf: $(EXAMPLES_DIR)/cv.tex $(CV_SRCS)
$(CC) -output-directory=$(EXAMPLES_DIR) $<
coverletter.pdf: $(EXAMPLES_DIR)/coverletter.tex
$(CC) -output-directory=$(EXAMPLES_DIR) $<
clean:
rm -rf $(EXAMPLES_DIR)/*.pdf