VMS: Correct faulty source directory specification
authorRichard Levitte <levitte@openssl.org>
Mon, 23 Aug 2021 12:12:28 +0000 (14:12 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 25 Aug 2021 12:42:36 +0000 (14:42 +0200)
$(SRCDIR)/doc doesn't work right on VMS.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16395)

Configurations/descrip.mms.tmpl

index 3ffd38790332073fe8735403afb2541cb9d1a58c..2d17ddebfdb14b8f9283e141ca78fd09811ad43c 100644 (file)
@@ -886,9 +886,10 @@ EOF
           my $title = basename($args{src}, ".html");
           my $pod = $gen0;
           my $mkpod2html = sourcefile('util', 'mkpod2html.pl');
+          my $srcdoc = sourcedir('doc');
           return <<"EOF";
 $args{src} : $pod
-       \$(PERL) $mkpod2html -i $pod -o \$\@ -t "$title" -r "\$(SRCDIR)/doc"
+       \$(PERL) $mkpod2html -i $pod -o \$\@ -t "$title" -r "$srcdoc"
 EOF
       } elsif ($args{src} =~ /\.(\d)$/) {
           #