iccsa-21-guile

Functional Programming Interface for Parallel and Distributed Computing
git clone https://git.igankevich.com/iccsa-21-guile.git
Log | Files | Refs

Makefile (1084B)


      1 LATEXMK = env max_print_line=1000 texfot --no-stderr --quiet latexmk
      2 
      3 FLAGS = \
      4 	-8bit \
      5 	-interaction=nonstopmode \
      6 	-output-directory=build \
      7 	-pdf \
      8 	-bibtex \
      9 	-shell-escape
     10 
     11 all: build/main.pdf
     12 all: build/slides.pdf
     13 all: build/Petriakov-Guile.pdf
     14 all: build/iccsa-21-guile-slides.pdf
     15 
     16 build/main.pdf: main.tex
     17 build/main.pdf: main.bib
     18 build/main.pdf: build/gnuplot/results.eps
     19 build/main.pdf:
     20 	@echo "   LATEX $<"
     21 	@-$(LATEXMK) $(FLAGS) -f main.tex
     22 
     23 build/slides.pdf: slides.tex
     24 	@echo "   LATEX $<"
     25 	@-$(LATEXMK) $(FLAGS) -xelatex -f $<
     26 
     27 build/Petriakov-Guile.pdf: build/slides.pdf
     28 	cp $< $@
     29 
     30 build/iccsa-21-guile-slides.pdf: build/slides.pdf
     31 	cp $< $@
     32 
     33 build/%.eps: build/%.svg
     34 	inkscape -z --export-eps=$@ $<
     35 
     36 build/gnuplot/%.svg: gnuplot/%.gnuplot
     37 	@mkdir -p build/gnuplot
     38 	gnuplot -d $<
     39 
     40 build/%.eps: build/%.svg
     41 	inkscape -z --export-eps=$@ $<
     42 
     43 build/main.zip: main.tex main.bib llncs.cls splncs04.bst build/gnuplot/results.eps
     44 	@mkdir -p build
     45 	zip --filesync build/main.zip $^
     46 
     47 zip: build/main.zip
     48 
     49 build:
     50 	@mkdir -p build
     51 
     52 clean:
     53 	@rm -rf build
     54 
     55 .PHONY: build clean zip