File: Makefile

package info (click to toggle)
latex2rtf 2.3.18a-5
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,392 kB
  • sloc: ansic: 20,424; makefile: 660; sh: 478; perl: 22
file content (47 lines) | stat: -rwxr-xr-x 898 bytes parent folder | download | duplicates (9)
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
36
37
38
39
40
41
42
43
44
45
46
47
#
# Initial version 28 May 2001 Scott Prahl
#
LATEX2PNG= ./latex2png
TMP= ../tmp

PNG= test1.png test2.png test3.png test4.png $(TMP)/test1.png test1fig.png

all:
	mkdir -p $(TMP)
	$(MAKE) png

png: $(PNG)

%.png:	%.tex
	$(LATEX2PNG) $<

test1.png: test1.tex
	$(LATEX2PNG) test1
	$(LATEX2PNG) test1.tex
	$(LATEX2PNG) -d 200 test1
	$(LATEX2PNG) -m test1
	$(LATEX2PNG) -c test1
	$(LATEX2PNG) -g test1
	$(LATEX2PNG) -d 200 -g test1

test3.png: test3.tex test3a.tex

$(TMP)/test1.png: test1.tex
	cp test1.tex $(TMP)
	$(LATEX2PNG) -H . $(TMP)/test1
	cp test1fig.eps $(TMP)
	$(LATEX2PNG) $(TMP)/test1

test1fig.png: test1fig.eps
	$(LATEX2PNG) test1fig.eps
	$(LATEX2PNG) -d 200 test1fig.eps
	$(LATEX2PNG) -m test1fig.eps
	$(LATEX2PNG) -c test1fig.eps
	$(LATEX2PNG) -g test1fig.eps
	$(LATEX2PNG) -d 200 -g test1fig.eps

clean:
	rm -f *.png *.pbm *.aux *.log *.dvi *.map 
	rm -rf $(TMP)
	
.PHONY: clean all