Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marius Melzer
committed
Oct 10, 2012
1 parent
8bbd781
commit 2359838
Showing
12 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
TEX_FILES=$(wildcard src/*.tex) | ||
PDF_FILES=$(TEX_FILES:src/%.tex=out/%.pdf) | ||
|
||
PICDIR = ./img | ||
|
||
depsvg = $(wildcard $(PICDIR)/*.svg) | ||
svgpdf = $(patsubst %.svg,%.pdf,$(depsvg)) | ||
|
||
|
||
all: deppdf $(PDF_FILES) | ||
|
||
clean: | ||
rm $(svgpdf) | ||
rm -rf out | ||
|
||
deppdf: $(svgpdf) | ||
echo test | ||
echo $(svgpdf) | ||
echo test | ||
|
||
|
||
$(PICDIR)/%.pdf: $(PICDIR)/%.svg | ||
inkscape -z -T -A $@ $< | ||
|
||
|
||
out/%.pdf: src/%.tex deppdf Makefile | ||
mkdir -p out | ||
pdflatex -draftmode -interaction nonstopmode -output-directory out $< | ||
pdflatex -output-directory out $< | ||
|
||
|
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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