--- loncom/build/lpml_parse.pl 2001/11/07 16:53:52 1.16
+++ 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 {
@@ -384,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 {