##  $Id: Makefile,v 1.28 2001/08/17 02:18:01 rra Exp $

include ../../Makefile.global

##  Edit these if you need to.
MANFLAGS = -c $(OWNER) -m 0444 -B .OLD

SEC1	= ckpasswd.1 convdate.1 fastrm.1 getlist.1 grephistory.1 inews.1 \
	innconfval.1 innfeed.1 innmail.1 nntpget.1 rnews.1 shlock.1 \
	shrinkfile.1 startinnfeed.1 simpleftp.1

SEC3	= clientlib.3 dbz.3 inndcomm.3 libinn.3 libinnhist.3 libstorage.3 \
	parsedate.3 qio.3 wildmat.3

SEC5	= active.5 buffindexed.conf.5 control.ctl.5 cycbuff.conf.5 \
	distrib.pats.5 expire.ctl.5 history.5 incoming.conf.5 inn.conf.5 \
	innfeed.conf.5 innwatch.ctl.5 moderators.5 motd.news.5 newsfeeds.5 \
	nnrpd.track.5 newslog.5 nntpsend.ctl.5 ovdb.5 overview.fmt.5 \
	passwd.nntp.5 readers.conf.5 sasl.conf.5 storage.conf.5 \
	subscriptions.5

SEC8	= actsync.8 actsyncd.8 archive.8 batcher.8 buffchan.8 \
	cnfsheadconf.8 cnfsstat.8 controlchan.8 ctlinnd.8 \
	cvtbatch.8 expire.8 expireover.8 expirerm.8 filechan.8 inncheck.8 \
	innd.8 inndf.8 inndstart.8 innreport.8 innstat.8 innwatch.8 \
	innxbatch.8 innxmit.8 mailpost.8 makedbz.8 makehistory.8 \
	mod-active.8 news.daily.8 news2mail.8 nnrpd.8 nntpsend.8 \
	ovdb_init.8 ovdb_monitor.8 ovdb_server.8 ovdb_stat.8 \
	overchan.8 perl-nocem.8 pgpverify.8 prunehistory.8 pullnews.8 \
	scanlogs.8 send-uucp.8 sm.8 tally.control.8 writelog.8

COPY	= $(SHELL) ./putman.sh $(MANPAGESTYLE) "$(MANFLAGS)"

all:
clobber clean:
tags ctags:
profiled:

install: install-man1 install-man3 install-man5 install-man8

install-man1:
	for M in $(SEC1) ; do \
	    $(COPY) $$M $D$(MAN1)/$$M ; \
	done

install-man3:
	for M in $(SEC3) ; do \
	    $(COPY) $$M $D$(MAN3)/$$M ; \
	done

install-man5:
	for M in $(SEC5) ; do \
	    $(COPY) $$M $D$(MAN5)/$$M ; \
	done

install-man8:
	for M in $(SEC8) ; do \
	    $(COPY) $$M $D$(MAN8)/$$M ; \
	done
