##  $Revision: 1.13 $
SHELL	= /bin/sh
MAKE	= make

##  =()<NEWSLIB	= @<_PATH_NEWSLIB>@>()=
NEWSLIB	= /usr/local/news
##  =()<NEWSBIN	= @<_PATH_NEWSBIN>@>()=
NEWSBIN	= /usr/local/news/bin
## =()<OWNER	= -O @<NEWSUSER>@ -G @<NEWSGROUP>@>()=
OWNER	= -O news -G news

## Where the executables reside
BATCH	= $(NEWSBIN)/batch

## Targets

all:		config

config:		sendbatches
	../../config/subst -f ../../config/config.data sendbatches
	date >config

install:	all sendbatches.ctl
	cp sendbatches.ctl $(NEWSLIB)
	cp sendbatches $(NEWSBIN)
	chmod 440 $(NEWSLIB)/sendbatches.ctl
	mkdir $(NEWSBIN)/batch || true
	cp batch/* $(NEWSBIN)/batch
	chmod 550 $(NEWSBIN)/sendbatches $(NEWSBIN)/batch/*
