#	BSDI	Makefile,v 2.4 1995/12/18 17:53:08 bostic Exp
#	@(#)Makefile	8.1 (Berkeley) 6/5/93

MAN5=	a.out.0 acct.0 cat.0 core.0 dir.0 disktab.0 disklabel.0 fs.0 fstab.0 \
	group.0 hosts.0 hosts.equiv.0 login.conf.0 networks.0 passwd.0 \
	phones.0 printcap.0 protocols.0 remote.0 resolver.0 services.0 \
	shells.0 stab.0 types.0 utmp.0
MLINKS+=fs.5 inode.5 utmp.5 wtmp.5
MLINKS+=dir.5 dirent.5

all: ${MAN5}

clean depend lint tags:

cleandir:
	rm -f ${MAN5}

install: maninstall afterinstall

afterinstall:
	rm -f ${DESTDIR}${MANDIR}5/resolv.conf.0
	ln ${DESTDIR}${MANDIR}5/resolver.0 \
		${DESTDIR}${MANDIR}5/resolv.conf.0
	rm -f ${DESTDIR}${MANDIR}5/rhosts.0
	ln ${DESTDIR}${MANDIR}5/hosts.equiv.0 \
		${DESTDIR}${MANDIR}5/rhosts.0

.include <bsd.prog.mk>
