Makefile (2711B)
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/Gavrikov-Wind.pdf 14 all: build/iccsa-21-wind-slides.pdf 15 16 build/main.pdf: main.tex 17 build/main.pdf: main.bib 18 build/main.pdf: build/inkscape/anemometer.eps 19 build/main.pdf: build/daily-stats.eps 20 build/main.pdf: build/daily-rmse.eps 21 build/main.pdf: build/gnuplot/velocity-dist.eps 22 build/main.pdf: build/gnuplot/velocity-xy-dist-max.eps 23 build/main.pdf: build/gnuplot/velocity-xy-dist-min.eps 24 build/main.pdf: build/gnuplot/direction-dist.eps 25 build/main.pdf: build/gnuplot/acf.eps 26 build/main.pdf: build/gnuplot/hold-peak.eps 27 build/main.pdf: build/gnuplot/vtestbed.eps 28 build/main.pdf: build/gnuplot/turbulence.eps 29 #build/main.pdf: build/gnuplot/anemometer.eps 30 #build/main.pdf: build/gnuplot/anemometer.svg 31 build/main.pdf: 32 @echo " LATEX $<" 33 @-$(LATEXMK) $(FLAGS) -f main.tex 34 35 build/slides.pdf: slides.tex 36 @echo " LATEX $<" 37 @-$(LATEXMK) $(FLAGS) -xelatex -f $< 38 39 build/Gavrikov-Wind.pdf: build/slides.pdf 40 cp $< $@ 41 42 build/iccsa-21-wind-slides.pdf: build/slides.pdf 43 cp $< $@ 44 45 build/%.eps: build/%.svg 46 inkscape -z --export-eps=$@ $< 47 48 build/%.png: build/%.svg 49 inkscape -z --export-png=$@ --export-dpi=600 --export-area-drawing $< 50 51 build/gnuplot/%.svg: gnuplot/%.gnuplot 52 @mkdir -p build/gnuplot 53 gnuplot -d $< 54 55 build/inkscape/%.eps: inkscape/%.svg 56 @mkdir -p build/inkscape 57 inkscape -z --export-eps=$@ $< 58 59 build/daily-stats.svg: gnuplot/daily-stats.gnuplot build/daily-stats 60 gnuplot -d $< 61 62 build/daily-rmse.svg: gnuplot/daily-rmse.gnuplot build/daily-rmse 63 gnuplot -d $< 64 65 build/gnuplot/velocity-xy-dist-min.svg: gnuplot/velocity-xy-dist.gnuplot build/gnuplot/direction_rmse.gnuplot 66 gnuplot -d -c gnuplot/velocity-xy-dist.gnuplot min 67 68 build/gnuplot/velocity-xy-dist-max.svg: gnuplot/velocity-xy-dist.gnuplot build/gnuplot/direction_rmse.gnuplot 69 gnuplot -d -c gnuplot/velocity-xy-dist.gnuplot max 70 71 build/gnuplot/direction-dist.svg: build/gnuplot/direction_rmse.gnuplot 72 build/gnuplot/vtestbed.svg: gnuplot/vtestbed.gnuplot 73 build/gnuplot/turbulence.svg: gnuplot/turbulence.gnuplot 74 75 build/main.zip: main.tex main.bib llncs.cls splncs04.bst build/inkscape/anemometer.eps build/daily-stats.eps build/gnuplot/velocity-dist.eps build/gnuplot/velocity-xy-dist-max.eps build/gnuplot/velocity-xy-dist-min.eps build/gnuplot/direction-dist.eps build/gnuplot/hold-peak.eps build/gnuplot/acf.eps build/gnuplot/turbulence.eps build/gnuplot/vtestbed.eps 76 @mkdir -p build 77 zip --filesync build/main.zip $^ 78 79 zip: build/main.zip 80 81 build: 82 @mkdir -p build 83 84 clean: 85 @rm -rf build 86 87 .PHONY: build clean zip