summaryrefslogtreecommitdiff
path: root/Build/source/extra
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-11-28 01:50:12 +0000
committerKarl Berry <karl@freefriends.org>2009-11-28 01:50:12 +0000
commit16f39e0699af55246249580d5f51a6ab2489ccfd (patch)
tree2df8e406a0ebc9a8161d7bcc06ac186c299bfe02 /Build/source/extra
parent174ebb955a1d029b8cf859d31a933fbf09b89463 (diff)
test repstopdf --help
git-svn-id: svn://tug.org/texlive/trunk@16220 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/extra')
-rw-r--r--Build/source/extra/epstopdf/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Build/source/extra/epstopdf/Makefile b/Build/source/extra/epstopdf/Makefile
index 1dfb8a6c800..03cf417474c 100644
--- a/Build/source/extra/epstopdf/Makefile
+++ b/Build/source/extra/epstopdf/Makefile
@@ -2,13 +2,15 @@
# This file is public domain. (Originally written by Karl Berry, 2009.)
e2p = ./epstopdf.pl --debug
+re2p = repstopdf
default: check
# These are not comprehensive tests by any means. Mostly we're just
# making sure we don't crash.
check: check-help check-version \
- check-write-error check-gscmd \
+ check-help-r \
+ check-filter check-write-error check-gscmd \
check-simple check-atend check-binary check-bin2 \
check-binhdr-lf check-binhdr-cr check-binhdr-crlf \
@@ -18,6 +20,12 @@ check-help:
check-version:
$(e2p) --version
+check-help-r: $(re2p)
+ $(re2p) --help | grep restricted # should have default=true
+
+$(re2p):
+ ln -s epstopdf.pl $@
+
check-filter:
cat test-simple.eps | $(e2p) --filter >test-filter.pdf
pdfinfo test-filter.pdf | grep "Page size:"