X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/a02608dec28d4e964c218e69ee3e39c623232d8d..HEAD:/Policy_sh.SH diff --git a/Policy_sh.SH b/Policy_sh.SH old mode 100644 new mode 100755 index aefa08f..1c99255 --- a/Policy_sh.SH +++ b/Policy_sh.SH @@ -1,3 +1,5 @@ +#!/bin/sh + case $PERL_CONFIG_SH in '') . ./config.sh ;; esac @@ -120,12 +122,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 +168,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 +187,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 +216,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