X-Git-Url: https://git.llucax.com/z.facultad/75.00/presentacion.git/blobdiff_plain/c3c504337e346a1b94bc41221b2fd7599abcc6ad..3b890a0dc4b9aa8930e1bd2aedf1bec61f8b3af1:/Makefile diff --git a/Makefile b/Makefile index 3fce8cb..cb2a467 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ O := .tmp R2B := ./rst2beamer.py -R2BTHEME := Darmstadt +R2BTHEME := Frankfurt R2BFLAGS := --halt=2 --lang es --codeblocks-use-pygments \ --input-encoding=utf-8 --output-encoding=utf-8 \ --overlaybullets= \ @@ -12,9 +12,6 @@ R2BFILTER := sed '/\\usepackage\[scaled=\.90\]{helvet}/d' DOT := dot DOTFLAGS := -AAFIG := aafigure -AAFIGFLAGS := --proportional - PDFLATEX := pdflatex PDFLATEXFLAGS := -halt-on-error -file-line-error @@ -33,7 +30,6 @@ comma := , imgs := $O/img/mark-sweep-0.pdf \ $(patsubst %.dot,$O/%.pdf,$(wildcard img/mark-sweep-*.dot)) \ - $O/img/heap.pdf \ $(patsubst %,$O/img/norm-hist-%.pdf,$(PLOTS)) # Verbosity flag (empty show nice messages, non-empty use make messages) @@ -44,8 +40,10 @@ override V := $(if $V,,@) # honour make -s flag override V := $(if $(findstring s,$(MAKEFLAGS)),,$V) +targets := presentacion.pdf notas.pdf + .PHONY: all -all: presentacion.pdf notas.pdf +all: $(targets) presentacion.pdf: $O/presentacion.tex $(imgs) $(if $V,@echo "$(PDFLATEX) $< > $@") @@ -70,9 +68,6 @@ $O/notas.tex: presentacion.rst $(R2B) $O/img/%.pdf: img/%.dot $(DOT) $(DOTFLAGS) -Tpdf -o $@ $< -$O/img/%.pdf: img/%.aafig - $(AAFIG) $(AAFIGFLAGS) -t pdf -o $@ $< - $O/img/norm-hist-%.csv: img/raw-hist-%.csv $(if $V,@echo "norm $< > $@") $V $(AWK) -F, -v m=`cut -d, -f4 $< | $(STATS) '$$1' '%(max)s'` \ @@ -91,14 +86,12 @@ $O/img/norm-hist-%.pdf: $O/img/norm-hist-%.eps $O/img/%.pdf: img/%.pdf cp $< $@ -$O/heap.pdf: AAFIGFLAGS += -s 1.4 -a 0.8 - .PHONY: clean clean: $(RM) -r $O .PHONY: clean-all clean-all: clean - $(RM) presentacion.pdf + $(RM) $(targets) __dummy := $(shell mkdir -p $O/img)