SVN: toys/tools/cleanbuild/findbr

sparky sparky at pld-linux.org
Wed May 19 23:31:12 CEST 2010


Author: sparky
Date: Wed May 19 23:31:12 2010
New Revision: 11480

Modified:
   toys/tools/cleanbuild/findbr
Log:
- add missing tex files detection


Modified: toys/tools/cleanbuild/findbr
==============================================================================
--- toys/tools/cleanbuild/findbr	(original)
+++ toys/tools/cleanbuild/findbr	Wed May 19 23:31:12 2010
@@ -322,6 +322,18 @@
 		warn "Looking for docbook file $db\n";
 		poldek_file( "/usr/share/sgml/*/$db" );
 	}
+
+	if ( m{LaTeX Error: File `(\S+)' not found} ) {
+		my $tex = $1;
+		warn "Looking for tex file $tex\n";
+		poldek_file( "/usr/share/tex*/$tex" );
+	}
+	if ( m{mv: cannot move `\S+' to `(/var/lib/texmf.*?)':} ) {
+		my $tex = $1;
+		warn "Looking for tex file $tex\n";
+		poldek_file( $tex );
+	}
+
 	if ( m{configure: error: C\+\+ preprocessor "/lib/cpp" fails sanity check} ) {
 		add_br( "gcc-c++", "try: %undefine\t__cxx" );
 	}


More information about the pld-cvs-commit mailing list