1 ?RCS: $Id: newslib.U 1 2006-08-24 12:32:52Z rmanfredi $
3 ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
5 ?RCS: You may redistribute only under the terms of the Artistic Licence,
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
8 ?RCS: that same Artistic Licence; a copy of which may be found at the root
9 ?RCS: of the source tree for dist 4.0.
11 ?RCS: $Log: newslib.U,v $
12 ?RCS: Revision 3.0 1993/08/18 12:09:23 ram
13 ?RCS: Baseline for dist 3.0 netwide release.
15 ?MAKE:newslib newslibexp: test inews Oldconfig Getfile
16 ?MAKE: -pick add $@ %<
18 ?S: This variable contains the eventual value of the NEWSLIB symbol,
19 ?S: which holds the name of the directory serving as the news library.
20 ?S: It may have a ~ on the front. See newslibexp for expanded version.
23 ?S: This variable contains the ~ expanded name of the news library
24 ?S: directory. See newslib.
27 ?C: This symbol contains the name of the directory serving as the news
28 ?C: library. The program must be prepared to do ~ expansion on it.
31 ?C: This symbol is the ~ expanded version of NEWSLIB, for programs that
32 ?C: do not wish to deal with it at run-time.
34 ?H:#define NEWSLIB "$newslib" /**/
35 ?H:#define NEWSLIB_EXP "$newslibexp" /**/
38 : figure out news library
47 rp='Where is your news library?'
51 if $test -f $newslibexp/inews; then
52 echo "Aha! Inews is really in $newslibexp! Maybe this is 2.10.2..." >&4
57 *) echo "(Make sure $inews isn't an old version.)";;
59 inews=$newslibexp/inews