summaryrefslogtreecommitdiff
path: root/Build/tests/largefile/test-lfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Build/tests/largefile/test-lfs/Makefile')
-rw-r--r--Build/tests/largefile/test-lfs/Makefile66
1 files changed, 66 insertions, 0 deletions
diff --git a/Build/tests/largefile/test-lfs/Makefile b/Build/tests/largefile/test-lfs/Makefile
new file mode 100644
index 00000000000..4ec390eeb38
--- /dev/null
+++ b/Build/tests/largefile/test-lfs/Makefile
@@ -0,0 +1,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)