Makefile (627B)
1 NAME=gankevich 2 NEW_NAME=cps-14-load-balance 3 4 FLAGS = \ 5 -interaction=nonstopmode \ 6 -output-directory=build \ 7 -pdf \ 8 -bibtex \ 9 -shell-escape 10 11 build/$(NEW_NAME).pdf: build/$(NAME).pdf 12 cp -uv $< $@ 13 14 build/$(NAME).pdf: build/$(NAME).tex performance.eps overlap.eps 15 latexmk $(FLAGS) -f $< 16 17 %.eps: %.svg 18 inkscape --file=$< --without-gui --export-eps=$@ 19 20 build/$(NAME).tex: $(NAME)_utf8.tex build 21 iconv -f utf8 -t cp1251 < $< > $@ 22 23 clean: 24 rm -f $(NAME).log $(NAME).aux $(NAME).pdf *-converted-to.pdf 25 rm -f *.eps *.nav *.out *.toc *.snm 26 rm -f $(NAME).tex 27 rm -f $(NEW_NAME).pdf 28 29 build: 30 mkdir -p build 31 32 .PHONY: clean build