iccsa-19-vessel

Vessel: Efficient Plain Text File Format for Ship Hull Geometry
git clone https://git.igankevich.com/iccsa-19-vessel.git
Log | Files | Refs

Makefile (1723B)


      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 NAME = iccsa-19-vessel
     12 SLIDES = iccsa-19-vessel-slides
     13 
     14 all: build/$(NAME).pdf
     15 all: build/$(SLIDES).pdf
     16 
     17 build/$(NAME).pdf: build
     18 build/$(NAME).pdf: main.tex
     19 build/$(NAME).pdf: build/sections.eps
     20 build/$(NAME).pdf: build/bow.eps
     21 build/$(NAME).pdf: build/micw-bow.eps
     22 build/$(NAME).pdf: build/micw.vsl.eps
     23 build/$(NAME).pdf: build/aurora.vsl.eps
     24 	@-$(LATEXMK) $(FLAGS) -f main.tex
     25 
     26 build/$(SLIDES).pdf: build/aurora-lines.eps
     27 build/$(SLIDES).pdf: build/micw-lines.eps
     28 build/$(SLIDES).pdf: build/coons-surface.eps
     29 build/$(SLIDES).pdf: build/bow-before-after.eps
     30 build/$(SLIDES).pdf: build/bow-before-after-3d.eps
     31 build/$(SLIDES).pdf: slides.tex
     32 	@echo "   LATEX $<"
     33 	@-$(LATEXMK) $(FLAGS) -xelatex -f slides.tex
     34 
     35 build/sections.svg: gnuplot/sections.dat gnuplot/sections.gnuplot
     36 	gnuplot -d ./gnuplot/sections.gnuplot
     37 
     38 build/bow.svg: gnuplot/bow.dat gnuplot/bow.gnuplot
     39 	gnuplot -d ./gnuplot/bow.gnuplot
     40 
     41 build/micw-bow.svg: gnuplot/micw-bow-cusp.vsl.gnuplot
     42 build/micw-bow.svg: gnuplot/micw-bow.vsl.gnuplot
     43 build/micw-bow.svg: gnuplot/micw-bow.gnuplot
     44 	gnuplot -d ./gnuplot/micw-bow.gnuplot
     45 
     46 #build/aurora-lines.svg build/micw-lines.svg: gnuplot/aurora-before.dat gnuplot/micw-before.dat gnuplot/aurora-lines.gnuplot
     47 #	./gnuplot/aurora-lines.gnuplot
     48 
     49 build/%.vsl.svg: gnuplot/%.vsl.gnuplot gnuplot/vessel.gnuplot
     50 	gnuplot -d -c gnuplot/vessel.gnuplot $< $@
     51 
     52 build/%.eps: build/%.svg
     53 	inkscape -z --export-eps=$@ $<
     54 
     55 build/%.eps: graphics/%.svg
     56 	inkscape -z --export-eps=$@ $<
     57 
     58 build:
     59 	@mkdir -p build
     60 
     61 clean:
     62 	@rm -rf build
     63 
     64 .PHONY: build clean