[net.sources] News Makefiles

msc (07/07/82)

	This and the following 3 messages contain makefiles for B news.

	This makefile calls others in the various sub-directories
	including that in src supplied with the distribution.  This
	makefile overrides the default settings in src/Makefile
	so there is no need to edit it each time a new distribution
	comes.

	Here is news/Makefile
==============================================================================
#
# LIBDIR is the news library. Typically /usr/lib/news.
# DOCDIR is the documentation library.  Typically /usr/doc/news
# MANDIR is the manual library.  Typically /usr/man
#
SPOOLDIR=/usr/netnews#		#QUMIX change from standard
LIBDIR=/usr/lib/news
BINDIR=/usr/local#		#QUMIX change from standard
DOCDIR=/usr/doc/news
MANDIR=/usr/man
NEWSUSR=newsmgr#		#QUMIX change from standard
NEWSGRP=staff#			#QUMIX change from standard
MFILE=Makefile.v7
FMTTER=vtroff
MACROS=ms

all:
	cd src; make -f $(MFILE) "NEWSUSR=$(NEWSUSR)" "NEWSGRP=$(NEWSGRP)" \
	"SPOOLDIR=$(SPOOLDIR)" "LIBDIR=$(LIBDIR)" "BINDIR=$(BINDIR)"

install:
	cd src; make -f $(MFILE) "NEWSUSR=$(NEWSUSR)" "NEWSGRP=$(NEWSGRP)" \
	"SPOOLDIR=$(SPOOLDIR)" "LIBDIR=$(LIBDIR)" "BINDIR=$(BINDIR)" install
	cd misc; make "NEWSUSR=$(NEWSUSR)" "NEWSGRP=$(NEWSGRP)"
	cd doc; make "DOCDIR=$(DOCDIR)" "FMTTER=$(FMTTER)" "MACROS=$(MACROS)" install
	cd man; make "MANDIR=$(MANDIR)"