X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/c9166e37736ce050b2ee05d4fdf16697211280ca..2d85e411f77906fbf50c96af5a1f1cf9c5de5f72:/Policy_sh.SH diff --git a/Policy_sh.SH b/Policy_sh.SH old mode 100644 new mode 100755 index fec18b9..cc310dd --- a/Policy_sh.SH +++ b/Policy_sh.SH @@ -1,4 +1,4 @@ -case $CONFIGDOTSH in +case $PERL_CONFIG_SH in '') . ./config.sh ;; esac echo "Extracting Policy.sh (with variable substitutions)" @@ -120,12 +120,22 @@ esac !GROK!THIS! +# Set the following variables. Mention them here so metaconfig +# includes the appropriate code in Configure +# $bin $scriptdir $privlib $archlib +# $man1dir $man3dir $html1dir $html3dir +# $sitebin $sitescript $sitelib $sitearch +# $siteman1dir $siteman3dir $sitehtml1dir $sitehtml3dir +# $vendorbin $vendorscript $vendorlib $vendorarch +# $vendorman1dir $vendorman3dir $vendorhtml1dir $vendorhtml3dir + for var in \ - bin scriptdir privlib archlib man1dir man3dir html1dir html3dir \ + bin scriptdir privlib archlib man1dir man3dir man1ext man3ext \ + html1dir html3dir \ sitebin sitescript sitelib sitearch \ - siteman1 siteman3 sitehtml1 sitehtml3 \ + siteman1dir siteman3dir sitehtml1dir sitehtml3dir \ vendorbin vendorscript vendorlib vendorarch \ - vendorman1 vendorman3 vendorhtml1 vendorhtml3 + vendorman1dir vendorman3dir vendorhtml1dir vendorhtml3dir do case "$var" in @@ -156,7 +166,7 @@ do # We don't know what to do with these yet. html1dir) dflt='' ;; - htm31dir) dflt='' ;; + html3dir) dflt='' ;; # Directories for site-specific add-on files sitebin) dflt=$siteprefix/bin ;; @@ -175,11 +185,11 @@ do ;; sitearch) dflt="$sitelib/$archname" ;; - siteman1) dflt="$siteprefix/man/man1" ;; - siteman3) dflt="$siteprefix/man/man3" ;; + siteman1dir) dflt="$siteprefix/man/man1" ;; + siteman3dir) dflt="$siteprefix/man/man3" ;; # We don't know what to do with these yet. - sitehtml1) dflt='' ;; - sitehtm31dir) dflt='' ;; + sitehtml1dir) dflt='' ;; + sitehtml3dir) dflt='' ;; # Directories for vendor-supplied add-on files # These are all usually empty. @@ -204,11 +214,11 @@ do ;; vendorarch) dflt="$vendorlib/$archname" ;; - vendorman1) dflt="$vendorprefix/man/man1" ;; - vendorman3) dflt="$vendorprefix/man/man3" ;; + vendorman1dir) dflt="$vendorprefix/man/man1" ;; + vendorman3dir) dflt="$vendorprefix/man/man3" ;; # We don't know what to do with these yet. - vendorhtml1) dflt='' ;; - vendorhtm3) dflt='' ;; + vendorhtml1dir) dflt='' ;; + vendorhtml3dir) dflt='' ;; esac # End of vendorprefix != '' fi