Mercurial > hg > Papers > 2008 > kent-sigos
comparison Makefile @ 0:6bd50f4568a0
OS研瘢雹究会用論文
author | kent |
---|---|
date | Mon, 24 Mar 2008 02:43:53 +0900 |
parents | |
children | 29847c3bea64 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6bd50f4568a0 |
---|---|
1 DVIPDF = dvipdfmx | |
2 LATEX = platex | |
3 PS2PDF = ps2pdf14 | |
4 DVIPS = dvips | |
5 BKMK2UNI = ~/src/bkmk2uni | |
6 | |
7 TARGET1 = main | |
8 #TARGET2 = resume | |
9 #TARGET3 = resume2 | |
10 #SLIDE1 = slide | |
11 | |
12 PDFs = $(TARGET1).pdf $(TARGET2).pdf $(TARGET3).pdf $(SLIDE1).pdf | |
13 DVIs = $(TARGET1).dvi $(TARGET2).dvi $(TARGET3).dvi $(SLIDE1).dvi | |
14 TEXs = $(TARGET1).tex $(TARGET2).tex $(TARGET3).tex $(SLIDE1).tex | |
15 | |
16 .SUFFIXES: .tex .dvi .pdf | |
17 | |
18 all: $(PDFs) | |
19 | |
20 .dvi.pdf: | |
21 $(DVIPDF) $^ | |
22 .tex.dvi: | |
23 $(LATEX) $^ | |
24 | |
25 $(SLIDE1).pdf: $(SLIDE1).ps | |
26 $(PS2PDF) $^ | |
27 | |
28 $(SLIDE1).ps: $(SLIDE1).dvi | |
29 $(DVIPS) $^ | |
30 if [ -x $(BKMK2UNI) ]; then\ | |
31 mv $@ $@.tmp;\ | |
32 $(BKMK2UNI) -e < $@.tmp > $@;\ | |
33 fi | |
34 | |
35 clean: | |
36 rm -f *.{aux,log,nav,out,snm} | |
37 | |
38 distclean: clean | |
39 rm -f $(DVIs) $(PDFs) *.{dvi} | |
40 | |
41 | |
42 twice: distclean $(DVIs) .rmdvi $(PDFs) | |
43 .rmdvi: | |
44 rm -f $(DVIs) | |
45 | |
46 |