summaryrefslogtreecommitdiffstats
path: root/am_edit
diff options
context:
space:
mode:
Diffstat (limited to 'am_edit')
-rw-r--r--am_edit20
1 files changed, 10 insertions, 10 deletions
diff --git a/am_edit b/am_edit
index a9a4c69..46ad438 100644
--- a/am_edit
+++ b/am_edit
@@ -395,21 +395,21 @@ sub processMakefile ($)
if ($MakefileData =~ /\n$lookup/) {
my $condition = $1;
my $depfiles = $2;
- my $workfiles;
+ my $wortdefiles;
if ($dep_finals) {
# Add the conditions on every line, since
# there may be line continuations in the list.
- $workfiles = "$dep_files $dep_finals $depfiles";
- $workfiles =~ s/\034/\034$condition\@KDE_USE_FINAL_TRUE\@\t/g;
- $lines = "$condition\@KDE_USE_FINAL_TRUE\@DEP_FILES = $workfiles\n";
- $workfiles = "$dep_files $depfiles";
- $workfiles =~ s/\034/\034$condition\@KDE_USE_FINAL_FALSE\@\t/g;
- $lines .= "$condition\@KDE_USE_FINAL_FALSE\@DEP_FILES = $workfiles";
+ $wortdefiles = "$dep_files $dep_finals $depfiles";
+ $wortdefiles =~ s/\034/\034$condition\@KDE_USE_FINAL_TRUE\@\t/g;
+ $lines = "$condition\@KDE_USE_FINAL_TRUE\@DEP_FILES = $wortdefiles\n";
+ $wortdefiles = "$dep_files $depfiles";
+ $wortdefiles =~ s/\034/\034$condition\@KDE_USE_FINAL_FALSE\@\t/g;
+ $lines .= "$condition\@KDE_USE_FINAL_FALSE\@DEP_FILES = $wortdefiles";
} else {
- $workfiles = "$dep_files $depfiles";
- $workfiles =~ s/\034/\034$condition\t/g;
- $lines = $condition . "DEP_FILES = $workfiles";
+ $wortdefiles = "$dep_files $depfiles";
+ $wortdefiles =~ s/\034/\034$condition\t/g;
+ $lines = $condition . "DEP_FILES = $wortdefiles";
}
substituteLine($lookup, $lines);
}