nmake: fix install_html_docs target
[openssl.git] / Configurations / windows-makefile.tmpl
index cc19b312558bd958f6551f72e46b1ec2285c165e..83df9f27a9b0d2bd4ddcc7ca95b40dd42dd8c7ec 100644 (file)
@@ -589,8 +589,8 @@ reconfigure reconf:
          return <<"EOF";
 $args{src}: $args{generator}->[0]
        pod2html "--podroot=\$(SRCDIR)/doc" --htmldir=.. \\
-                --podpath=man1:man3:man5:man7 "--infile=\$<" "--title=$title" \\
-       | \$(PERL) -pe "s|href=\\"http://man\\.he\\.net/(man\d/[^\\"]+)(?:\\.html)?\\"|href=\\"../\$1.html|g;" \\
+                --podpath=man1:man3:man5:man7 "--infile=\$?" "--title=$title" \\
+       | \$(PERL) -pe ^"s^|href=\\^"http://man\\.he\\.net/^(man\\d/[^^\\^"]+^)^(?:\.html^)?^"^|href=\\^"../\$\$1.html^|g;^" \\
        > \$\@
 EOF
       } elsif (platform->isdef($args{src})) {