X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Policy_sh.SH;h=a618d23d56957a28172406c2d0c34e689d410cb3;hb=836ccc8ea0b1baa3680e911631ffd126ca7b9966;hp=fec18b938572ea1352c81ebd20902ad6d7d36cb1;hpb=c9166e37736ce050b2ee05d4fdf16697211280ca;p=p5sagit%2Fp5-mst-13.2.git diff --git a/Policy_sh.SH b/Policy_sh.SH index fec18b9..a618d23 100644 --- 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,21 @@ 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 \ 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