Build file templates: Use explicit files instead of $< or $? for pods
[openssl.git] / Configurations / descrip.mms.tmpl
index f9f3aea4f4ef6a442dd28a5cef15cfc6fac9834c..d379a8230b8a3d6f559efa0dc272f4bee7513b94 100644 (file)
@@ -781,10 +781,11 @@ reconfigure reconf :
 
       if ($args{src} =~ /\.html$/) {
          my $title = basename($args{src}, ".html");
+         my $pod = $args{generator}->[0];
          return <<"EOF";
-$args{src}: $args{generator}->[0]
+$args{src}: $pod
        pipe pod2html "--podroot=\$(SRCDIR)/doc" --htmldir=.. -
-                      --podpath=man1:man3:man5:man7 "--infile=\$<" -
+                      --podpath=man1:man3:man5:man7 "--infile=$pod" -
                      "--title=$title" -
        | \$(PERL) -pe "s|href=""http://man\\.he\\.net/(man\d/[^""]+)(?:\\.html)?""|href=""../\$1.html|g;" -
        > \$\@