/[cvs]/minimovka/Makefile
ViewVC logotype

Contents of /minimovka/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.13 - (show annotations)
Wed Mar 5 09:53:52 2008 UTC (10 years, 9 months ago) by riso
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +4 -1 lines
Vyrobena knizka z autoreferatu

1 PICS=kkr-fig2.eps kkr-fig1.eps kkr-fig0.eps figKn.eps figRn.eps figT.eps figL.eps \
2 figMesh.eps figTorus.eps figH3.eps figH4.eps figBcast.eps \
3 st-DemoRing.eps st-Helpers.eps st-SoD.eps st-threads.eps st-MessageTree.eps
4 NAME=main
5 MODULES=title_page.tex
6 REFS=references
7 PDFTEX=pdfcslatex
8 TEX=cslatex
9
10 all: $(NAME).pdf $(NAME).ps autoref.pdf autoref-book.pdf
11 #all: $(NAME).ps
12
13 #%.eps: %.fig
14 # fig2dev -L eps $< $@
15
16 #%.pdf: %.eps
17 # ps2pdf -dEPSCrop $< $@
18
19 %.mp: %.fig
20 fig2dev -L mp -o $< $@
21
22 %.eps: %.mp
23 mpost $<
24 mv `basename $< .mp`.0 $@
25
26 #%.pdf: %.mp
27 # mptopdf $<
28 # mpost $<
29 # mv `basename $@ .pdf`-0.pdf $@
30 # for i in `basename $< .mmp`.*[0-9]; do \
31 # mptopdf $$i; \
32 # done
33
34 #$(NAME).pdf: $(NAME).tex $(PICS) $(MODULES) $(REFS).bib
35 # $(PDFTEX) $<
36 # bibtex $(NAME)
37 # $(PDFTEX) $<
38 # $(PDFTEX) $<
39
40 $(NAME).pdf: $(NAME).ps
41 ps2pdf $<
42
43 %.bbl: %.list
44 cp $< `basename $< .list`.aux
45 bibtex `basename $< .list`
46 rm `basename $< .list`.aux
47
48 usedpublications.bbl: $(NAME).pdf
49 echo "\\bibstyle{alpha}" >usedpublications.aux
50 echo "\\bibdata{references}" >>usedpublications.aux
51 egrep "^\\\\citation" <main.aux >>usedpublications.aux
52 bibtex usedpublications
53 rm usedpublications.aux
54
55 autoref.pdf: autoref.tex mypublications.bbl citations.bbl usedpublications.bbl abstract.tex
56 pdfcslatex $<
57 bibtex $(NAME)
58 pdfcslatex $<
59 pdfcslatex $<
60
61 %-book.pdf: %.pdf
62 utils/pdfnup `pdfinfo $< | grep Pages | sed "s/[^ ]* *//"` $< $@
63
64 $(NAME).ps: $(NAME).tex $(PICS) $(MODULES) $(REFS).bib abstract.tex abstrakt.tex
65 $(TEX) $<
66 bibtex $(NAME)
67 $(TEX) $<
68 $(TEX) $<
69 dvips $(NAME).dvi -o $@
70
71 #$(NAME).ps: $(NAME).pdf
72 # pdftops $< $@
73
74 clean:
75 rm -f *.ps *.dvi *.aux *.log *.mpx *.mp *.toc *.0 *.mpo *.pdf *.bak *.bbl *.blg *.lot *.lof *.loa $(PICS)
76
77 .PHONY: clean
78 .PRECIOUS: %.mp

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.26