summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-07 23:44:15 +0000
committerKarl Berry <karl@freefriends.org>2008-07-07 23:44:15 +0000
commit71bfc56fad7f23cefe8afeb85f822b16ba232d3b (patch)
tree0e4182834c006d3140ca6afbd44fe586b1cffa59
parentd16215fb98fe4ffabf2420fc1595c8429b94a40b (diff)
psfragx to avoid readme.txt/README.txt non-duplication
git-svn-id: svn://tug.org/texlive/trunk@9350 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/psfragx/README.txt.laprint-3.16 (renamed from Master/texmf-dist/doc/latex/psfragx/README.txt)0
-rw-r--r--Master/texmf-dist/doc/latex/psfragx/psfragx.m13
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds6
3 files changed, 4 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/latex/psfragx/README.txt b/Master/texmf-dist/doc/latex/psfragx/README.txt.laprint-3.16
index 30a32a5e161..30a32a5e161 100644
--- a/Master/texmf-dist/doc/latex/psfragx/README.txt
+++ b/Master/texmf-dist/doc/latex/psfragx/README.txt.laprint-3.16
diff --git a/Master/texmf-dist/doc/latex/psfragx/psfragx.m b/Master/texmf-dist/doc/latex/psfragx/psfragx.m
index 25b3a51ba38..c61488279a2 100644
--- a/Master/texmf-dist/doc/latex/psfragx/psfragx.m
+++ b/Master/texmf-dist/doc/latex/psfragx/psfragx.m
@@ -1,16 +1,3 @@
-% psfragx.m %%% [-*- Matlab -*-]
-%
-% function psfragx(NomTeX,NomEPS)
-% nargin=1 -> NomTeX=NomEPS
-%
-% Copy lines of NomTeX.tex
-% starting with
-% \psfrag
-% and
-% %<pfx>
-% to the file NomEPS.eps, as a comment following the
-% %%BoundigBox
-% line.
function psfragx(TeXname,EPSname,Outname)
TMPname='psfragx_tmp';
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index 45e4318ca11..f3fd84eac5c 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -811,6 +811,7 @@ $standardins='\.ins';
'ctable', 'latex', # requires interaction
'mh', 'etex',
'polski', 'latex', # requires interaction
+ 'psfragx', 'latex', # requires interaction
);
$standardinsrunner="latex -interaction=nonstopmode";
@@ -1885,8 +1886,9 @@ sub MAKEflatten
die "$package failed in $prehook: $@" if $@;
}
- # mv foo/README to README.foo.
- &SYSTEM ("for r in `find . -mindepth 2 -name README`; do"
+ # mv foo/README to README.foo. README.txt is for psfragx.
+ # Obviously should be generalized.
+ &SYSTEM ("for r in `find . -mindepth 2 '(' -name README -o -name README.txt ')'`; do"
. ' mv $r $r.`basename \`dirname $r\``; done');
# move all non-directories to top level, but don't accidentally