summaryrefslogtreecommitdiff
path: root/Build/tests/largefile/testlfs-thanh/Makefile
blob: 4ec390eeb38e60eecc381f0493dfee01a518a6e2 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
default:

clean:
	rm -f image.*-* 

files = \
	Makefile \
	test-lfs.tex \
	test-include \
	image.jbig2 \
	image.png \
	image.jpg


image.png: image.jpg
	convert image.jpg image.png

image.jbig2: image.jpg
	jbig2 -4 image.jpg > image.jbig2

test-include-jpeg-1-page: image.jpg
	./test-include image.jpg 200 1

test-include-jpeg-2-pages: image.jpg
	./test-include image.jpg 100 2

test-include-png-1-page: image.png
	./test-include image.png 140 1

test-include-png-2-pages: image.png
	./test-include image.png 70 2

test-include-jbig2-1-page: image.jbig2
	./test-include image.jbig2 3000 1

test-include-jbig2-2-pages: image.jbig2
	./test-include image.jbig2 1500 2

test-include-pdf:
	make test-include-jpeg-1-page
	./test-include image.jpg-200-1.pdf 1 1

rsync:
	rsync -avL $(files)  thanhs-desktop:test-lfs/

jpeg:
	-make test-include-jpeg-2-pages
	-make test-include-jpeg-1-page

png:
	-make test-include-png-2-pages
	-make test-include-png-1-page

jbig2:
	-make test-include-jbig2-2-pages
	-make test-include-jbig2-1-page

pdf:
	-make test-include-pdf

all:
	-make jpeg png jbig2 pdf

dist:
	-rm -f test-lfs.zip
	zip test-lfs.zip $(files)