summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-09-21 23:34:04 +0000
committerKarl Berry <karl@freefriends.org>2007-09-21 23:34:04 +0000
commit37008cfc0e58d958b8f4b477a78e6b44d47825a1 (patch)
tree26292bd56dbdc2c54f9b93156692c20410eb58b6
parenta6a13c1b2f09c6318e60b65c389ba82418cda2ce (diff)
makecirc doc in metapost
git-svn-id: svn://tug.org/texlive/trunk@4997 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/cdbuild/ctan2tds.pl23
-rw-r--r--Master/texmf-dist/doc/metapost/makecirc/MakeCirc-en.pdf (renamed from Master/texmf-dist/doc/latex/makecirc/MakeCirc-en.pdf)bin259764 -> 259764 bytes
-rw-r--r--Master/texmf-dist/doc/metapost/makecirc/MakeCirc.pdf (renamed from Master/texmf-dist/doc/latex/makecirc/MakeCirc.pdf)bin241753 -> 241753 bytes
-rw-r--r--Master/texmf-dist/doc/metapost/makecirc/README (renamed from Master/texmf-dist/doc/latex/makecirc/README)0
-rw-r--r--Master/texmf-dist/doc/metapost/makecirc/ejemplos.pdf (renamed from Master/texmf-dist/doc/latex/makecirc/ejemplos.pdf)bin62658 -> 62658 bytes
5 files changed, 23 insertions, 0 deletions
diff --git a/Build/cdbuild/ctan2tds.pl b/Build/cdbuild/ctan2tds.pl
index b6e5fa14423..ef6e92885d7 100755
--- a/Build/cdbuild/ctan2tds.pl
+++ b/Build/cdbuild/ctan2tds.pl
@@ -139,6 +139,7 @@ chdir $startdir || die "chdir($startdir) failed: $!";
'ebong', "&MAKEebong",
'ecc', "&MAKEecc",
'eco', "&MAKEeco",
+ 'edmac', "warn \"skipping edmac, needs work (unzip xx)\n\"",
'ednotes', "&MAKEnosymlinks",
'elhyphen', "&MAKEelhyphen",
'epiolmec', "&MAKEflatten",
@@ -1179,6 +1180,8 @@ for (@ARGV) {
print "Package $packagedir has a TeXlive-aware Makefile. Make and send to $DEST\n";
} else {
+ &set_dir_defaults ($opt_ctan_dir);
+
$insrunner = $specialinsrunner{$package} || $standardinsrunner;
$whichformat = $specialfmt{$package} || $standardfmt;
@@ -1198,7 +1201,27 @@ for (@ARGV) {
&xchdir ($startdir);
}
+
+# Override our default guess of "latex" if we can intuit from the CTAN
+# path, which ctan2tl kindly passes us.
+#
+sub set_dir_defaults
+{
+ my ($ctan_dir) = @_;
+ my $changed = 1;
+
+ if ($ctan_dir =~ m!/graphics/metapost!) {
+ $standardfmt = $standarddocfmt = $standardsourcefmt = "metapost";
+ } else {
+ $changed = 0;
+ }
+
+ print "\t reset fmt/docfmt/srcfmt to $standardfmt (based on $ctan_dir)\n"
+ if $changed;
+}
+
+
sub xchdir
{
my ($dir) = @_;
diff --git a/Master/texmf-dist/doc/latex/makecirc/MakeCirc-en.pdf b/Master/texmf-dist/doc/metapost/makecirc/MakeCirc-en.pdf
index d96ce6367a3..d96ce6367a3 100644
--- a/Master/texmf-dist/doc/latex/makecirc/MakeCirc-en.pdf
+++ b/Master/texmf-dist/doc/metapost/makecirc/MakeCirc-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/makecirc/MakeCirc.pdf b/Master/texmf-dist/doc/metapost/makecirc/MakeCirc.pdf
index 812a192dc3f..812a192dc3f 100644
--- a/Master/texmf-dist/doc/latex/makecirc/MakeCirc.pdf
+++ b/Master/texmf-dist/doc/metapost/makecirc/MakeCirc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/makecirc/README b/Master/texmf-dist/doc/metapost/makecirc/README
index 22b2d8fccb9..22b2d8fccb9 100644
--- a/Master/texmf-dist/doc/latex/makecirc/README
+++ b/Master/texmf-dist/doc/metapost/makecirc/README
diff --git a/Master/texmf-dist/doc/latex/makecirc/ejemplos.pdf b/Master/texmf-dist/doc/metapost/makecirc/ejemplos.pdf
index cf13fa545c1..cf13fa545c1 100644
--- a/Master/texmf-dist/doc/latex/makecirc/ejemplos.pdf
+++ b/Master/texmf-dist/doc/metapost/makecirc/ejemplos.pdf
Binary files differ