--- loncom/build/lpml_parse.pl 2001/11/05 02:57:21 1.14
+++ loncom/build/lpml_parse.pl 2001/11/07 16:59:51 1.17
@@ -85,7 +85,7 @@ $targetroot=~s/\/$//;
my $invocation;
# --------------------------------------------------- Record program invocation
-if ($mode eq 'install') {
+if ($mode eq 'install' or $mode eq 'configinstall' or $mode eq 'build') {
$invocation=(<TARGETROOT: $text";
}
- elsif ($mode eq 'install') {
- return '# TARGET INSTALL LOCATION is "'.$targetroot."\"\n";
- }
- elsif ($mode eq 'build') {
+ elsif ($mode eq 'install' or $mode eq 'build' or
+ $mode eq 'configinstall') {
return '# TARGET INSTALL LOCATION is "'.$targetroot."\"\n";
}
else {
@@ -377,10 +383,8 @@ sub format_sourceroot {
if ($mode eq 'html') {
return $sourceroot="\n
SOURCEROOT: $text";
}
- elsif ($mode eq 'install') {
- return '# SOURCE CODE LOCATION IS "'.$sourceroot."\"\n";;
- }
- elsif ($mode eq 'build') {
+ elsif ($mode eq 'install' or $mode eq 'build' or
+ $mode eq 'configinstall') {
return '# SOURCE CODE LOCATION IS "'.$sourceroot."\"\n";;
}
else {
@@ -819,7 +823,7 @@ END
'You likely need to compare contents of '.
''.$targetroot.'/'.$target.' with the new '.
''.$targetroot.'/'.$target.'.lpmlnewconf"'.
- ";) };\n\n";
+ "); };\n\n";
}
elsif ($mode eq 'build' && $build) {
push @buildall,$sourceroot.'/'.$source;