summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-03-24 20:42:27 +0000
committerKarl Berry <karl@freefriends.org>2014-03-24 20:42:27 +0000
commit9ceb9aea8c6eade4843f93dba8720b9f005cf488 (patch)
treec3b2055359e9a2e8f49da8868009cfaf65e4952c /Master/texmf-dist/doc
parentf70b06da25c665c72900ba23f10ca1bc8dbadd79 (diff)
latexpand (24mar14)
git-svn-id: svn://tug.org/texlive/trunk@33278 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/support/latexpand/Makefile18
-rw-r--r--Master/texmf-dist/doc/support/latexpand/README12
-rw-r--r--Master/texmf-dist/doc/support/latexpand/tests/includegraphic.tex2
-rw-r--r--Master/texmf-dist/doc/support/latexpand/tests/toto.pdf0
-rw-r--r--Master/texmf-dist/doc/support/latexpand/version.txt4
5 files changed, 26 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/support/latexpand/Makefile b/Master/texmf-dist/doc/support/latexpand/Makefile
index 0b8b24c2914..08145b7b103 100644
--- a/Master/texmf-dist/doc/support/latexpand/Makefile
+++ b/Master/texmf-dist/doc/support/latexpand/Makefile
@@ -1,13 +1,15 @@
-all: latexpand.zip
+all: dist/latexpand.zip
-README: latexpand
- pod2text latexpand > README
+dist/latexpand/README: latexpand
+ pod2text latexpand > $@
.PHONY: all force
-latexpand.zip: README force
- -$(RM) $@
+dist/latexpand.zip: force
+ -$(RM) -r dist/
+ mkdir -p dist/latexpand
+ @$(MAKE) dist/latexpand/README
@echo "latexpand version $$(git rev-parse HEAD).\n\
-Commited on $$(git show -s HEAD --pretty=format:'%cd')." > version.txt
- zip $@ README version.txt $$(git ls-files | grep -v '\.gitignore')
-
+Commited on $$(git show -s HEAD --pretty=format:'%cd')." > dist/latexpand/version.txt
+ git ls-files | grep -v '\.gitignore' | tar -cf - -T - | (cd dist/latexpand/ && tar xf -)
+ cd dist && zip -r latexpand.zip latexpand/
force:
diff --git a/Master/texmf-dist/doc/support/latexpand/README b/Master/texmf-dist/doc/support/latexpand/README
index 18ab86cce42..673177188bd 100644
--- a/Master/texmf-dist/doc/support/latexpand/README
+++ b/Master/texmf-dist/doc/support/latexpand/README
@@ -57,3 +57,15 @@ BUGS
It would be nice to remove code between \begin{comment} and
\end{comment} too if \usepackage{comment} is used.
+ Code like
+
+ foo%
+ \begin{comment}
+
+ will produce the incorrect
+
+ foo\begin{comment}
+
+ A workaround is to use --empty-comments when such tricky usage of the
+ comments package is done.
+
diff --git a/Master/texmf-dist/doc/support/latexpand/tests/includegraphic.tex b/Master/texmf-dist/doc/support/latexpand/tests/includegraphic.tex
new file mode 100644
index 00000000000..76a2eef6a7c
--- /dev/null
+++ b/Master/texmf-dist/doc/support/latexpand/tests/includegraphic.tex
@@ -0,0 +1,2 @@
+\includegraphics{toto.pdf}
+\includegraphics[scale=42]{toto.pdf}
diff --git a/Master/texmf-dist/doc/support/latexpand/tests/toto.pdf b/Master/texmf-dist/doc/support/latexpand/tests/toto.pdf
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/texmf-dist/doc/support/latexpand/tests/toto.pdf
diff --git a/Master/texmf-dist/doc/support/latexpand/version.txt b/Master/texmf-dist/doc/support/latexpand/version.txt
index 70838403e17..4bd734c00f7 100644
--- a/Master/texmf-dist/doc/support/latexpand/version.txt
+++ b/Master/texmf-dist/doc/support/latexpand/version.txt
@@ -1,2 +1,2 @@
-latexpand version 349e09efc922330e4f158b5871f89f5f2e0900b9.
-Commited on Wed Aug 14 12:44:40 2013 +0200.
+latexpand version 0464aa0d8108286cfb92fd8c0692059ec09b8a8a.
+Commited on Sun Mar 23 21:57:16 2014 +0100.