[net.sources] news/misc/Makefile

msc (07/07/82)

	This Makefile installs things from the misc sub-directory
	into the news library.

				Mark Callow

news/misc/Makefile
==============================================================================
#
# LIBDIR is the news library. Typically /usr/lib/news.
#
LIBDIR=/usr/lib/news
NEWSUSR=newsmgr
NEWSGRP=staff

all: $(LIBDIR)/recording $(LIBDIR)/fa.recording $(LIBDIR)/sendnewsmail $(LIBDIR)/trimlib $(LIBDIR)/euuname $(LIBDIR)/recsite $(LIBDIR)/siteform

$(LIBDIR)/euuname: euuname.sh
	cp euuname.sh $(LIBDIR)/euuname
	chmod 755 $(LIBDIR)/euuname
	chown $(NEWSUSR) $(LIBDIR)/euuname
	chgrp $(NEWSGRP) $(LIBDIR)/euuname

$(LIBDIR)/sendnewsmail: sendnewsmail
	cp sendnewsmail $(LIBDIR)/sendnewsmail
	chmod 755 $(LIBDIR)/sendnewsmail
	chown $(NEWSUSR) $(LIBDIR)/sendnewsmail
	chgrp $(NEWSGRP) $(LIBDIR)/sendnewsmail

$(LIBDIR)/trimlib: trimlib
	cp trimlib $(LIBDIR)/trimlib
	chmod 754 $(LIBDIR)/trimlib
	chown $(NEWSUSR) $(LIBDIR)/trimlib
	chgrp $(NEWSGRP) $(LIBDIR)/trimlib

$(LIBDIR)/recording: recording
	cp recording $(LIBDIR)/recording
	chown $(NEWSUSR) $(LIBDIR)/recording
	chgrp $(NEWSGRP) $(LIBDIR)/recording

$(LIBDIR)/fa.recording: fa.recording
	cp fa.recording $(LIBDIR)/fa.recording
	chown $(NEWSUSR) $(LIBDIR)/fa.recording
	chgrp $(NEWSGRP) $(LIBDIR)/fa.recording

$(LIBDIR)/siteform: ./adm/siteform.sh
	cp ./adm/siteform.sh $(LIBDIR)/siteform
	chmod 754 $(LIBDIR)/siteform
	chown $(NEWSUSR) $(LIBDIR)/siteform
	chgrp $(NEWSGRP) $(LIBDIR)/siteform

$(LIBDIR)/recsite: ./adm/recsite.sh
	cp ./adm/recsite.sh $(LIBDIR)/recsite
	chmod 754 $(LIBDIR)/recsite
	chown $(NEWSUSR) $(LIBDIR)/recsite
	chgrp $(NEWSGRP) $(LIBDIR)/recsite