blob: 23f39b480dee34a4eb9e3271f6737fb9126276c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
PACKAGE = bestpapers
TEX = bestpapers-guide.tex
PDF = ${TEX:%.tex=%.pdf}
all: ${PDF}
%.pdf: %.tex bestpapers.bst tex.bib
pdflatex $*
- bibtex tex
- bibtex typography
pdflatex $*
pdflatex $*
while ( grep -q 'may have changed' $*.log) \
do pdflatex $<; done
clean:
$(RM) *.log *.aux \
*.cfg *.glo *.idx *.toc \
*.ilg *.ind *.out *.lof \
*.lot *.bbl *.blg *.gls \
*.dvi *.ps *.thm *.tgz *.zip
distclean: clean
$(RM) $(PDF)
archive: all clean
cd ..; \
tar -czvf $(PACKAGE)/$(PACKAGE).tgz --exclude '*~' --exclude '*.tgz' --exclude '*.zip' --exclude CVS $(PACKAGE); \
cd $(PACKAGE)
zip: all clean
cd ..; $(RM) $(PACKAGE).zip; \
zip -r $(PACKAGE).zip $(PACKAGE)/* -x '*~' -x '*.tgz' -x '*.zip' -x '*CVS*'
|