About this file
+
+This file is generated dynamically by lpml_parse.pl as
+part of a development compilation process. Author: Scott
+Harrison (harris41\@msu.edu).
+
+END
+ }
+ elsif ($mode eq 'text') {
+ $lpml = "LPML Description Page (dist=$dist, $date)";
+ $lpml .=<get_text('/rpm'));
$parser->get_tag('/rpm');
if ($mode eq 'html') {
- return $rpm="\n
BEGIN RPM\n$text\n
END RPM";
+ return $rpm=<Software Package Description
+
+
+END
+ }
+ elsif ($mode eq 'text') {
+ return $rpm=<get_text('/rpmSummary'));
$parser->get_tag('/rpmSummary');
if ($mode eq 'html') {
- return $rpmSummary="\n
RPMSUMMARY $text";
+ return $rpmSummary="\nSummary : $text";
+ }
+ elsif ($mode eq 'text') {
+ return $rpmSummary="\nSummary : $text";
}
else {
return '';
@@ -695,22 +754,22 @@ sub format_files {
$depstring.="\telif !(test -r $command/$dep);\\\n";
$depstring.="\t\tthen echo ".
"\"**** WARNING **** missing the file: ".
- "$command/$dep\";\\\n";
+ "$command/$dep\"$logcmd;\\\n";
$depstring.="\t\ttest -e $source || test -e $target || echo ".
"'**** ERROR **** neither source=$source nor target=".
- "$target exist and they cannot be built';\\\n";
+ "$target exist and they cannot be built'$logcmd;\\\n";
$depstring.="\t\tmake -f Makefile.build ${source}___DEPS;\\\n";
if ($olddep) {
$depstring2.="\t\tECODE=0;\\\n";
$depstring2.="\t\t! test -e $source && test -r $command/$olddep &&".
- " { perl filecompare.pl -b2 $command/$olddep $target || ECODE=\$\$?; } && { [ \$\$ECODE != \"2\" ] || echo \"**** WARNING **** dependency $command/$olddep is newer than target file $target; SOMETHING MAY BE WRONG\"; };\\\n";
+ " { perl filecompare.pl -b2 $command/$olddep $target || ECODE=\$\$?; } && { [ \$\$ECODE != \"2\" ] || echo \"**** WARNING **** dependency $command/$olddep is newer than target file $target; SOMETHING MAY BE WRONG\"$logcmd; };\\\n";
}
$olddep=$dep;
}
$binfo.="$source: $tword\n".
"\t\@if !(echo \"\");\\\n\t\tthen echo ".
"\"**** WARNING **** Strange shell. ".
- "Check your path settings.\";\\\n".
+ "Check your path settings.\"$logcmd;\\\n".
$depstring.
"\telse \\\n\t\t$command2\n\tfi\n\n";
$binfo.="${source}___DEPS:\n".$depstring2."\t\tECODE=0;\n\n";
@@ -770,17 +829,17 @@ sub format_file {
foreach my $dep (@deps) {
$depstring.=<