[SCM] Debian packaging for sketch 3D line drawing software branch, debian/Doc-make-pl, updated. upstream/0.2.89-11-g5184983

David Bremner bremner at unb.ca
Sun Jan 10 01:34:22 UTC 2010


The following commit has been merged in the debian/Doc-make-pl branch:
commit 5184983d11ad9232ba38ce357ce522cb6b2625c3
Author: David Bremner <bremner at unb.ca>
Date:   Sat Jan 9 18:00:41 2010 -0400

    build the .txt versions of the examples even if nobitmaps is specified

diff --git a/Doc/make.pl b/Doc/make.pl
index c143663..5b2eb78 100644
--- a/Doc/make.pl
+++ b/Doc/make.pl
@@ -26,14 +26,15 @@ sub make_example {
     # fix up bounding box (originally this was not necessary; something was "improved")
     system("epstool --copy --bbox tmp.eps $ex.eps") == 0 or die "$!";
     unlink "tmp.eps";
-    local *F;
-    open(F, "> $ex.txt") or die "$!";
-    print F "Image $ex omitted in text version of this document.";
-    close F;
     system("$GS -q -dQUIET -dNOPAUSE -dBATCH -dEPSCrop -sDEVICE=pdfwrite -sOutputFile=$ex.pdf -r120 $ex.eps") == 0 or die "$!";
     system("$GS -q -dQUIET -dNOPAUSE -dBATCH -dEPSCrop -sDEVICE=png256   -sOutputFile=$ex.png -r120 $ex.eps") == 0 or die "$!";
     unlink <$ex-tmp.*>;
   }
+  local *F;
+  open(F, "> $ex.txt") or die "$!";
+  print F "Image $ex omitted in text version of this document.";
+  close F;
+
 }
 
 sub make_all {

-- 
Debian packaging for sketch 3D line drawing software



More information about the debian-science-commits mailing list