commit 9693617cb8188cbe8094c99107e008a9be19458e
parent dad499d35183055650fb6dde858060368fd304ed
Author: Ivan Gankevich <igankevich@ya.ru>
Date: Wed, 10 Aug 2016 23:09:46 +0300
Generate makefile.
Diffstat:
iccsa-16-factory.tex | | | 57 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
main.tex | | | 57 | --------------------------------------------------------- |
makefile | | | 22 | ++++++++++++++++++++++ |
3 files changed, 79 insertions(+), 57 deletions(-)
diff --git a/iccsa-16-factory.tex b/iccsa-16-factory.tex
@@ -0,0 +1,57 @@
+\documentclass[runningheads,a4paper]{llncs}
+
+\usepackage{amssymb}
+\setcounter{tocdepth}{3}
+\usepackage{graphicx}
+\graphicspath{ {graphics/} }
+\usepackage{cite}
+\usepackage{amsmath}
+\usepackage{booktabs}
+
+\usepackage{url}
+\urldef{\mailsa}\path|{i.gankevich,y.tipikin,v.korkhov}@spbu.ru|
+\urldef{\mailsb}\path|gvladimiru@gmail.com|
+\urldef{\mailsc}\path|{deg,bogdanov}@csa.ru|
+
+\begin{document}
+
+\mainmatter
+
+\title{Factory:\\Master node high-availability for Big Data applications and beyond}
+
+\author{%
+Ivan Gankevich%
+\and Yuri Tipikin%
+\and Vladimir Korkhov%
+\and Vladimir Gaiduchok%
+\and Alexander Degtyarev%
+\and Alexander Bogdanov%
+}
+
+\institute{%
+Saint Petersburg State University,\\
+Dept. of Computer Modelling and Multiprocessor Systems\\
+Universitetskaia emb. 7-9, 199034 Saint Petersburg, Russia\\
+\mailsa\\
+\mailsb\\
+\mailsc\\
+\url{http://spbu.ru/}%
+}
+
+\titlerunning{Factory: Master node high-availability}
+\authorrunning{Gankevich et al.}
+
+\toctitle{Factory: Master node high-availability}
+\tocauthor{Gankevich et al.}
+
+\maketitle
+
+\input{src/abstract}
+\input{src/intro}
+\input{src/sections}
+\input{src/outro}
+
+\bibliography{src/refs}{}
+\bibliographystyle{splncs03}
+
+\end{document}
diff --git a/main.tex b/main.tex
@@ -1,57 +0,0 @@
-\documentclass[runningheads,a4paper]{llncs}
-
-\usepackage{amssymb}
-\setcounter{tocdepth}{3}
-\usepackage{graphicx}
-\graphicspath{ {graphics/} }
-\usepackage{cite}
-\usepackage{amsmath}
-\usepackage{booktabs}
-
-\usepackage{url}
-\urldef{\mailsa}\path|{i.gankevich,y.tipikin,v.korkhov}@spbu.ru|
-\urldef{\mailsb}\path|gvladimiru@gmail.com|
-\urldef{\mailsc}\path|{deg,bogdanov}@csa.ru|
-
-\begin{document}
-
-\mainmatter
-
-\title{Factory:\\Master node high-availability for Big Data applications and beyond}
-
-\author{%
-Ivan Gankevich%
-\and Yuri Tipikin%
-\and Vladimir Korkhov%
-\and Vladimir Gaiduchok%
-\and Alexander Degtyarev%
-\and Alexander Bogdanov%
-}
-
-\institute{%
-Saint Petersburg State University,\\
-Dept. of Computer Modelling and Multiprocessor Systems\\
-Universitetskaia emb. 7-9, 199034 Saint Petersburg, Russia\\
-\mailsa\\
-\mailsb\\
-\mailsc\\
-\url{http://spbu.ru/}%
-}
-
-\titlerunning{Factory: Master node high-availability}
-\authorrunning{Gankevich et al.}
-
-\toctitle{Factory: Master node high-availability}
-\tocauthor{Gankevich et al.}
-
-\maketitle
-
-\input{src/abstract}
-\input{src/intro}
-\input{src/sections}
-\input{src/outro}
-
-\bibliography{src/refs}{}
-\bibliographystyle{splncs03}
-
-\end{document}
diff --git a/makefile b/makefile
@@ -0,0 +1,22 @@
+NAME = iccsa-16-factory
+
+$(NAME).pdf: $(NAME).tex makefile
+ pdflatex $(NAME)
+ pdflatex $(NAME)
+ ls *.bib 2>/dev/null && bibtex $(NAME) || true
+ pdflatex $(NAME)
+
+%.eps: %.svg
+ inkscape --without-gui --export-eps=$@ $<
+
+clean:
+ rm -f $(NAME).log $(NAME).aux $(NAME).pdf *-converted-to.pdf
+ rm -f $(NAME).nav $(NAME).snm $(NAME).toc $(NAME).out
+ rm -f $(NAME).bbl $(NAME).blg $(NAME).vrb
+ rm -f ./graphics/spec-eps-converted-to.pdf
+ rm -f ./graphics/factory-3000-eps-converted-to.pdf
+ rm -f ./graphics/factory-6000-eps-converted-to.pdf
+
+$(NAME).pdf: ./graphics/spec.eps
+$(NAME).pdf: ./graphics/factory-3000.eps
+$(NAME).pdf: ./graphics/factory-6000.eps