?RCS: $Id$ ?RCS: ?RCS: Copyright (c) 1999 Jarkko Hietaniemi ?RCS: ?RCS: You may redistribute only under the terms of the Artistic Licence, ?RCS: as specified in the README file that comes with the distribution. ?RCS: You may reuse parts of this distribution only within the terms of ?RCS: that same Artistic Licence; a copy of which may be found at the root ?RCS: of the source tree for dist 3.0. ?RCS: ?MAKE:siteman3 siteman3exp installsiteman3: test Getfile \ prefix installprefix siteprefix man3dir sed ?MAKE: -pick add $@ %< ?Y:TOP ?S:siteman3: ?S: This variable contains the name of the directory in which site-specific ?S: library man source pages are to be put. It is the responsibility of the ?S: Makefile.SH to get the value of this into the proper command. ?S: You must be prepared to do the ~name expansion yourself. ?S: The standard distribution will put nothing in this directory. ?S: After perl has been installed, users may install their own local ?S: man3 pages in this directory with ?S: MakeMaker Makefile.PL ?S: or equivalent. See INSTALL for details. ?S:. ?S:siteman3exp: ?S: This variable is the same as the siteman3 variable, but is filename ?S: expanded at configuration time, for convenient use in makefiles. ?S:. ?S:installsiteman3: ?S: This variable is really the same as siteman3exp, unless you are using ?S: AFS in which case it points to the read/write location whereas ?S: man3direxp only points to the read-only access location. For extra ?S: portability, you should only use this variable within your makefiles. ?S:. : determine where add-on library man pages go case "$siteman3" in '') dflt=`echo "$man3dir" | $sed "s#^$prefix#$siteprefix#"` ;; *) dflt=$siteman3 ;; esac case "$dflt" in ''|' ') dflt=none ;; esac fn=dn+~ rp='Pathname where the site-specific library manual pages should be installed?' . ./getfile siteman3="$ans" siteman3exp="$ansexp" : Use ' ' for none so value is preserved next time through Configure $test X"$siteman3" = "X" && siteman3=' ' : Change installation prefix, if necessary. if $test X"$prefix" != X"$installprefix"; then installsiteman3=`echo "$siteman3exp" | $sed "s#^$prefix#$installprefix#"` else installsiteman3="$siteman3exp" fi