From: Vivien Maisonneuve Date: Tue, 11 Feb 2014 09:37:21 +0000 (+0100) Subject: Makefile & al. X-Git-Url: https://svn.cri.ensmp.fr/git/pipstransfo.git/commitdiff_plain/354d496e9c71cbbeccfca323a3a2b46e9dfdf228?ds=sidebyside;hp=-c Makefile & al. --- 354d496e9c71cbbeccfca323a3a2b46e9dfdf228 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..82ee594 --- /dev/null +++ b/.gitignore @@ -0,0 +1,16 @@ +/*.aux +/*.bbl +/*.blg +/*.fdb_latexmk +/*.fls +/*.lof +/*.log +/*.nav +/*.out +/*.pdf +/*.snm +/*.sublime-workspace +/*.synctex.gz +/*.synctex.gz(busy) +/*.toc +/*.vrb diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7fbff97 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +LATEXMK:=latexmk +JOBNAME:=pipstransfo + +.PHONY: default +default: build + +.PHONY: build +build: depends + $(LATEXMK) $(JOBNAME).tex + +.PHONY: live +live: depends + $(LATEXMK) -pvc $(JOBNAME).tex + +.PHONY: depends +depends: + +.PHONY: clean +clean: + $(LATEXMK) -C + +.PHONY: rebuild +rebuild: clean build + diff --git a/chktexrc b/chktexrc new file mode 100644 index 0000000..5356a06 --- /dev/null +++ b/chktexrc @@ -0,0 +1,2 @@ +VerbEnvir { lstlisting tikzpicture } +CmdLine { -n1 -n21 -n41 } diff --git a/latexmkrc b/latexmkrc new file mode 100644 index 0000000..a973307 --- /dev/null +++ b/latexmkrc @@ -0,0 +1,3 @@ +$pdf_mode = "1"; +$pdflatex = "pdflatex -interaction=nonstopmode -halt-on-error -file-line-error -synctex=1"; +$clean_ext = "bbl synctex.gz synctex.gz(busy)";