?RCS: $Id$ ?RCS: ?RCS: Copyright (c) 1996, Andy Dougherty ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi ?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 4.0. ?RCS: ?RCS: $Log: man3dir.U,v $ ?RCS: Revision 3.0.1.1 1997/02/28 16:10:34 ram ?RCS: patch61: created ?RCS: ?X: ?X: This was originally specific to perl5. Since perl5 has man pages that ?X: go in both man1/ and man3/ directories, we need both man1dir ?X: and man3dir. This unit is basically dist's mansrc.U with ?X: man3 used instead of man everywhere. ?X: I then added various tests because perl5 has *lots* of man3 ?X: pages with long file names. -- ADO ?X: ?MAKE:man3dir man3direxp man3ext installman3dir: afs cat nroff Loc Oldconfig \ sed man1dir spackage package Getfile prefix Prefixit Prefixup \ d_flexfnam privlib Myread ?MAKE: -pick add $@ %< ?Y:TOP ?S:man3dir: ?S: This variable contains the name of the directory in which manual ?S: 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:. ?S:man3direxp: ?S: This variable is the same as the man3dir variable, but is filename ?S: expanded at configuration time, for convenient use in makefiles. ?S:. ?S:installman3dir: ?S: This variable is really the same as man3direxp, 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:. ?S:man3ext: ?S: This variable contains the extension that the manual page should ?S: have: one of 'n', 'l', or '3'. The Makefile must supply the '.'. ?S: See man3dir. ?S:. : determine where library module manual pages go set man3dir man3dir none eval $prefixit $cat <