Update to v0.1:
Fixed: removed discussion on k-nearest neighbor exclusion models which do not cover the lattice perfectly. Fixed: extra assumption: particle configurations are determined by their defects. Fixed: miscellaneous minor tweaks, formatting and typos. Added: discussion about Lee-Yang zeros and their relation to the high-fugacity expansion. Added: open problem: soft exclusion potentials. Added: extended bibliography. Changed: Particles in figures are now always centered on the lattice, not the dual lattice. Changed: improved Makefile.
This commit is contained in:
37
Makefile
37
Makefile
@ -1,40 +1,47 @@
|
||||
PROJECTNAME=Jauslin_Lebowitz_2017
|
||||
LIBS=$(notdir $(wildcard libs/*))
|
||||
FIGS=$(notdir $(wildcard figs/*.fig))
|
||||
|
||||
LIBS=$(patsubst libs/%, %, $(wildcard libs/*))
|
||||
FIGS=$(patsubst figs/%, %, $(wildcard figs/*))
|
||||
PDFS=$(addsuffix .pdf, $(PROJECTNAME))
|
||||
SYNCTEXS=$(addsuffix .synctex.gz, $(PROJECTNAME))
|
||||
|
||||
all: $(PROJECTNAME)
|
||||
|
||||
$(PROJECTNAME): $(LIBS) $(FIGS)
|
||||
pdflatex -file-line-error $(PROJECTNAME).tex
|
||||
pdflatex $(PROJECTNAME).tex
|
||||
pdflatex -synctex=1 $(PROJECTNAME).tex
|
||||
pdflatex -file-line-error $@.tex
|
||||
pdflatex -file-line-error $@.tex
|
||||
pdflatex -synctex=1 $@.tex
|
||||
|
||||
|
||||
libs: $(LIBS)
|
||||
|
||||
$(LIBS):
|
||||
ln -fs libs/$@ ./
|
||||
|
||||
figs: $(FIGS)
|
||||
|
||||
$(FIGS):
|
||||
make -C figs/$@
|
||||
ln -fs figs/$@/*.pdf ./
|
||||
|
||||
|
||||
clean-aux:
|
||||
rm -f $(PROJECTNAME).aux
|
||||
rm -f $(PROJECTNAME).log
|
||||
rm -f $(PROJECTNAME).out
|
||||
rm -f $(PROJECTNAME).toc
|
||||
rm -f $(addsuffix .aux, $(PROJECTNAME))
|
||||
rm -f $(addsuffix .log, $(PROJECTNAME))
|
||||
rm -f $(addsuffix .out, $(PROJECTNAME))
|
||||
|
||||
clean-libs:
|
||||
rm -f $(LIBS)
|
||||
|
||||
clean-tex:
|
||||
rm -f $(PROJECTNAME).pdf
|
||||
rm -f $(PROJECTNAME).synctex.gz
|
||||
|
||||
clean-figs:
|
||||
for fig in $(FIGS); do make -C figs/"$$fig" clean; done
|
||||
$(foreach fig,$(addprefix figs/, $(FIGS)), make -C $(fig) clean; )
|
||||
rm -f $(notdir $(wildcard figs/*.fig/*.pdf))
|
||||
|
||||
clean-figs-aux:
|
||||
for fig in $(FIGS); do make -C figs/"$$fig" clean-aux; done
|
||||
$(foreach fig,$(addprefix figs/, $(FIGS)), make -C $(fig) clean-aux; )
|
||||
|
||||
|
||||
clean-tex:
|
||||
rm -f $(PDFS) $(SYNCTEXS)
|
||||
|
||||
clean: clean-aux clean-tex clean-libs clean-figs
|
||||
|
Reference in New Issue
Block a user