Lines Matching refs:lookup
259 my $lookup = "$program" . '_SOURCES\s*=\s*(.*)';
260 substituteLine($lookup, "$program\_SOURCES=" . $sources{$program});
335 my $lookup = "$program\_OBJECTS.*=[^\n]*";
355 substituteLine ($lookup, $new);
362 my $lookup = '(\@\S+\@)?DEP_FILES\s*=([^\n]*)';
363 if ($MakefileData =~ /\n$lookup\n/o) {
382 substituteLine($lookup, $lines);
404 my $lookup = "install-exec-am:([^\n]*)";
405 if($MakefileData =~ /\n$lookup\n/) {
406 substituteLine("$lookup", "install-exec-am: $1 install-kde_moduleLTLIBRARIES");
415 my $lookup = quotemeta($add) . ':([^\n]*)';
416 if ($MakefileData =~ /\n$lookup\n/) {
418 my $oldlines = $lookup;
439 my $lookup = quotemeta("$1\$(CXXFLAGS)$2");
441 $MakefileData =~ s/$lookup/$replacement/;
442 $lookup =~ s/\\\$\\\(CXXFLAGS\\\)/\\\$\\\(KCXXFLAGS\\\)/;
444 substituteLine($lookup, $replacement);
451 $lookup = '(\n[^#].*\$\(LIBTOOL\) --mode=link) (\$\(CXXLD\).*\$\(KCXXFLAGS\))';
453 if ($MakefileData =~ m/$lookup/ ) {
454 $MakefileData =~ s/$lookup/$1 --tag=CXX $2/;
457 $lookup = '(\n[^#].*\$\(LIBTOOL\) --mode=compile)\s+(\$\(CXX\)\s+)';
458 if ($MakefileData =~ m/$lookup/ ) {
459 $MakefileData =~ s/$lookup/$1 --tag=CXX $2/;
465 $lookup = '(.*)cp -pr \$\$/\$\$file \$\(distdir\)/\$\$file(.*)';
466 if ($MakefileData =~ m/\n$lookup\n/) {
467 substituteLine($lookup, "$1cp -pr \$\$d/\$\$file \$(distdir)/\$\$file$2");
627 my $lookup = 'DEPDIR\s*=.*';
628 if ($MakefileData !~ /\n($lookup)\n/o) {
629 $lookup = 'bindir\s*=.*';
630 if ($MakefileData =~ /\n($lookup)\n/) {
631 substituteLine ($lookup, "DEPDIR = .deps\n$1");
658 my $lookup = '[^=\n]*META_INCLUDES\s*=\s*(.*)';
659 return 1 if ($MakefileData !~ /($lookup)\n/o);
663 removeLine ($lookup, $1);
809 my $lookup = "$program" . '_COMPILE_FIRST\s*=\s*(.*)';
810 if ($MakefileData =~ m/\n$lookup\n/) {
853 my $lookup;
857 $lookup = $program . '_METASOURCES\s*=\s*(.*)';
858 return 1 if ($MakefileData !~ /\n($lookup)\n/);
861 $lookup = $program . '_METASOURCES\s*=\s*(.*)';
862 if ($MakefileData !~ /\n($lookup)\n/) {
863 $lookup = 'METASOURCES\s*=\s*(.*)';
864 return 1 if ($MakefileData !~ /\n($lookup)\n/o);
876 removeLine ($lookup, $found);
924 my $lookup = '.*cd \$\(top_srcdir\)\s+&&[\034\s]+\$\(AUTOMAKE\)(.*)';
925 return 1 if ($MakefileData !~ /\n($lookup)\n/);
929 substituteLine ($lookup, $newLine);
1090 my $lookup = "($program)";
1091 $lookup .= '(|\$\(EXEEXT\))';
1092 $lookup =~ s/\_/./g;
1093 $lookup .= ":(.*..$program\_OBJECTS..*)";
1094 # $lookup = quotemeta($lookup);
1095 if ($MakefileData =~ /\n$lookup\n/) {
1102 substituteLine($lookup, $line);
1104 print STDERR "no built dependency found $lookup\n";
1179 my $lookup = '([^\s]*)_ICON\s*=\s*([^\n]*)';
1183 while ($MakefileData =~ /\n$lookup/og) {
1334 my $lookup = 'POFILES\s*=([^\n]*)';
1335 if ($MakefileData !~ /\n$lookup/o) {
1338 substituteLine ($lookup, "$pofileLine\nGMOFILES =$allgmofiles");
1348 $lookup = 'DISTFILES\s*=\s*(.*)';
1349 if ($MakefileData =~ /\n$lookup\n/o) {
1351 substituteLine ($lookup, $tmp);
1428 my $lookup = 'POFILES\s*=([^\n]*)';
1429 return 1 if ($MakefileData !~ /\n$lookup/o);
1468 my $lookup = "\035" . $_[0] . " *:[^\035]*\035\t";
1471 if ($copy =~ /($lookup.*)$/) {
1522 my $lookup = quotemeta($realname{$program}) . ":.*?\n\t.*?\\((.*?)\\) .*\n";
1523 $MakefileData =~ m/$lookup/;
1541 $lookup = $realname{$program} . ": (.*)";
1542 if ($MakefileData =~ /\n$lookup\n/) {
1545 substituteLine($lookup, $lines);
1589 my $lookup = "DISTFILES *=(.*)";
1590 if ($MakefileData =~ /\n$lookup\n/o) {
1591 substituteLine($lookup, "KDE_DIST=$KDE_DIST\n\nDISTFILES=$1 \$(KDE_DIST)\n");
1603 my $lookup = 'KDE_DOCS\s*=\s*([^\n]*)';
1604 goto nodocs if ($MakefileData !~ /\n$lookup/o);
1644 my $lookup = 'MEINPROC\s*=';
1645 if ($MakefileData !~ /\n($lookup)/) {
1648 $lookup = 'KDE_XSL_STYLESHEET\s*=';
1649 if ($MakefileData !~ /\n($lookup)/) {
1652 $lookup = '\nindex.cache.bz2:';
1653 if ($MakefileData !~ /\n($lookup)/) {
1980 my ($lookup, $old) = @_;
1983 $MakefileData =~ s/\n$lookup/\n#>\- $old/;
1993 my ($lookup, $new) = @_;
1995 if ($MakefileData =~ /\n($lookup)/) {
2000 $MakefileData =~ s/\n$lookup/\n#>- $old\n#>\+ $newCount\n$new/;
2002 print STDERR "Warning: substitution of \"$lookup\" in $printname failed\n";