Commit | Line | Data |
---|---|---|
d8818e7e JH |
1 | ?RCS: $Id: vendorhtml1dir.U,v 1.1 1999/07/08 18:32:57 doughera Exp doughera $ |
2 | ?RCS: | |
3 | ?RCS: Copyright (c) 1999, Andy Dougherty | |
bbf326f0 | 4 | ?RCS: |
65a32477 | 5 | ?RCS: You may redistribute only under the terms of the Artistic License, |
d8818e7e JH |
6 | ?RCS: as specified in the README file that comes with the distribution. |
7 | ?RCS: You may reuse parts of this distribution only within the terms of | |
65a32477 | 8 | ?RCS: that same Artistic License; a copy of which may be found at the root |
d8818e7e | 9 | ?RCS: of the source tree for dist 3.0. |
bbf326f0 | 10 | ?RCS: |
d8818e7e JH |
11 | ?RCS: $Log: vendorhtml1dir.U,v $ |
12 | ?RCS: Revision 1.1 1999/07/08 18:32:57 doughera | |
13 | ?RCS: Initial revision | |
14 | ?RCS: | |
d8818e7e | 15 | ?MAKE:vendorhtml1dir vendorhtml1direxp installvendorhtml1dir: html1dir Getfile \ |
bbf326f0 | 16 | Setprefixvar Oldconfig Prefixit test vendorprefix prefix sed |
d8818e7e JH |
17 | ?MAKE: -pick add $@ %< |
18 | ?Y:TOP | |
19 | ?S:vendorhtml1dir: | |
bbf326f0 | 20 | ?S: This variable contains the name of the directory for html |
d8818e7e JH |
21 | ?S: pages. It may have a ~ on the front. |
22 | ?S: The standard distribution will put nothing in this directory. | |
23 | ?S: Vendors who distribute perl may wish to place their own | |
24 | ?S: html pages in this directory with | |
bbf326f0 | 25 | ?S: MakeMaker Makefile.PL INSTALLDIRS=vendor |
d8818e7e JH |
26 | ?S: or equivalent. See INSTALL for details. |
27 | ?S:. | |
28 | ?S:vendorhtml1direxp: | |
29 | ?S: This variable is the ~name expanded version of vendorhtml1dir, so that you | |
30 | ?S: may use it directly in Makefiles or shell scripts. | |
31 | ?S:. | |
bbf326f0 | 32 | ?D:installvendorhtml1dir='' |
d8818e7e JH |
33 | ?S:installvendorhtml1dir: |
34 | ?S: This variable is really the same as vendorhtml1direxp but may differ on | |
35 | ?S: those systems using AFS. For extra portability, only this variable | |
36 | ?S: should be used in makefiles. | |
37 | ?S:. | |
c6d164da MB |
38 | ?LINT:change prefixvar |
39 | ?LINT:set installvendorhtml1dir | |
d7a2632b | 40 | : Set the vendorhtml1dir variables |
d8818e7e JH |
41 | case "$vendorprefix" in |
42 | '') vendorhtml1dir='' | |
43 | vendorhtml1direxp='' | |
44 | ;; | |
45 | *) : determine where vendor-supplied html pages go. | |
46 | : There is no standard location, so try to copy the previously-selected | |
47 | : directory structure for the core html pages. | |
48 | : XXX Better default suggestions would be welcome. | |
49 | case "$vendorhtml1dir" in | |
50 | '') dflt=`echo "$html1dir" | $sed "s#^$prefix#$vendorprefix#"` ;; | |
51 | *) dflt=$vendorhtml1dir ;; | |
52 | esac | |
53 | case "$dflt" in | |
54 | ''|' ') dflt=none ;; | |
55 | esac | |
56 | fn=dn+~ | |
57 | rp='Pathname for the vendor-supplied html pages?' | |
58 | . ./getfile | |
59 | vendorhtml1dir="$ans" | |
60 | vendorhtml1direxp="$ansexp" | |
61 | ;; | |
62 | esac | |
63 | : Use ' ' for none so value is preserved next time through Configure | |
64 | $test X"$vendorhtml1dir" = "X" && vendorhtml1dir=' ' | |
bbf326f0 MB |
65 | prefixvar=vendorhtml1dir |
66 | . ./installprefix | |
d8818e7e | 67 |