equal
deleted
inserted
replaced
4 SRCMISC = |
4 SRCMISC = |
5 SRCFIG_DIGEST = $(SRCFIG:.ppt=.md5) |
5 SRCFIG_DIGEST = $(SRCFIG:.ppt=.md5) |
6 |
6 |
7 PRN2EPS = c:/cygwin/home/swk/lib/tex/prn2eps.pl |
7 PRN2EPS = c:/cygwin/home/swk/lib/tex/prn2eps.pl |
8 PPTPRINT = c:/cygwin/home/swk/lib/tex/ppt_printout_ps.vbs |
8 PPTPRINT = c:/cygwin/home/swk/lib/tex/ppt_printout_ps.vbs |
|
9 PRINTER = "Generic PostScript Writer" |
9 |
10 |
10 dvi: $(TARGET).dvi |
11 dvi: $(TARGET).dvi |
11 pdf: $(TARGET).pdf |
12 pdf: $(TARGET).pdf |
12 |
13 |
13 # $(TARGET).pdf: $(TARGET).dvi |
14 #$(TARGET).pdf: $(TARGET).dvi |
14 # dvipsk -Pdl $(TARGET).dvi |
15 # dvipsk -Pdl $(TARGET).dvi |
15 # -pdfclose --file $(TARGET).pdf |
16 # -pdfclose --file $(TARGET).pdf |
16 # cygstart $(TARGET).ps |
17 # cygstart $(TARGET).ps |
17 # @while test ! -e $(TARGET).pdf; do echo -n .; sleep 2; done |
18 # @while test ! -e $(TARGET).pdf; do echo -n .; sleep 2; done |
18 # rm $(TARGET).ps |
19 # rm $(TARGET).ps |
|
20 # pdfopen --file $(TARGET).pdf --back |
19 |
21 |
20 $(TARGET).pdf: $(TARGET).dvi |
22 $(TARGET).pdf: $(TARGET).dvi |
21 -pdfclose --file $(TARGET).pdf |
23 -pdfclose --file $(TARGET).pdf |
22 dvipdfmx $(TARGET) |
24 dvipdfmx $(TARGET) |
23 pdfopen --file $(TARGET).pdf --back |
25 pdfopen --file $(TARGET).pdf --back |
25 $(TARGET).dvi: $(SRCTEX) $(SRCMISC) $(SRCFIG_DIGEST) |
27 $(TARGET).dvi: $(SRCTEX) $(SRCMISC) $(SRCFIG_DIGEST) |
26 platex $(TARGET) |
28 platex $(TARGET) |
27 # jbibtex $(TARGET) |
29 # jbibtex $(TARGET) |
28 # platex $(TARGET) |
30 # platex $(TARGET) |
29 platex $(TARGET) |
31 platex $(TARGET) |
30 grep Warning $(TARGET).log |
32 -grep Warning $(TARGET).log |
31 |
33 |
32 %.md5: %.prn |
34 %.md5: %.prn |
33 $(PRN2EPS) $< |
35 $(PRN2EPS) $< |
34 |
36 |
35 %.prn: %.ppt |
37 %.prn: %.ppt |
36 wscript $(PPTPRINT) `cygpath -wa $<` `cygpath -wa $*.prn` > $*.note.txt |
38 wscript $(PPTPRINT) $(PRINTER) `cygpath -wa $<` `cygpath -wa $*.prn` > $*.note.txt |