[SCM] Debian packaging for sketch 3D line drawing software branch, debian/Doc-make-pl, updated. upstream/0.2.89-14-g128ff96
David Bremner
bremner at unb.ca
Sun Jan 10 12:42:14 UTC 2010
The following commit has been merged in the debian/Doc-make-pl branch:
commit 128ff96b8d2eb297e9f7b96a3ed35efa8da1c819
Author: David Bremner <bremner at unb.ca>
Date: Sun Jan 10 08:10:04 2010 -0400
remove miktek memory flag (to latex) on linux
diff --git a/Doc/make.pl b/Doc/make.pl
index c143663..6605f9c 100644
--- a/Doc/make.pl
+++ b/Doc/make.pl
@@ -9,6 +9,7 @@ our $MEM_OPTION = "--extra-mem-top=5000000"; # MikTeX 2.7
sub make_example {
my $ex = shift;
+ my $latex_opt="";
die "missing example name" unless $ex;
my %arg = map { $_ => 1 } @_;
@@ -18,10 +19,13 @@ sub make_example {
print STDERR "$cmd\n";
system($cmd) == 0 or die "$!";
}
+ unless ($arg{linux}){
+ $latex_opt=$MEM_OPTION;
+ }
unless ($arg{nobitmaps}) {
print STDERR "latex example '$ex-tmp.tex':\n";
system("sed -e s/TEXFILE/$ex/ makeex-tmp.tex > $ex-tmp.tex") == 0 or die "$!";
- system("latex $MEM_OPTION $ex-tmp.tex") == 0 or die "$!";
+ system("latex $latex_opt $ex-tmp.tex") == 0 or die "$!";
system("dvips -E $ex-tmp -o tmp.eps") == 0 or die "$!";
# fix up bounding box (originally this was not necessary; something was "improved")
system("epstool --copy --bbox tmp.eps $ex.eps") == 0 or die "$!";
--
Debian packaging for sketch 3D line drawing software
More information about the debian-science-commits
mailing list