xref: /original-bsd/share/man/man8/Makefile (revision 60c3b96a)
1#
2# Copyright (c) 1988 Regents of the University of California.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms are permitted
6# provided that the above copyright notice and this paragraph are
7# duplicated in all such forms and that any documentation,
8# advertising materials, and other materials related to such
9# distribution and use acknowledge that the software was developed
10# by the University of California, Berkeley.  The name of the
11# University may not be used to endorse or promote products derived
12# from this software without specific prior written permission.
13# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16#
17#	@(#)Makefile	5.3 (Berkeley) 07/09/88
18#
19MDIR=	/usr/man/cat8
20SRCS=	XNSrouted.8 \
21	ac.8 adduser.8 arp.8 badsect.8 bugfiler.8 chown.8 \
22	clri.8 comsat.8 config.8 cron.8 dcheck.8 disklabel.8 diskpart.8 \
23	dm.8 dmesg.8 dump.8 dumpfs.8 edquota.8 fastboot.8 fingerd.8 \
24	fsck.8 fsdb.8 fstat.8 ftpd.8 gettable.8 getty.8 halt.8 \
25	htable.8 icheck.8 ifconfig.8 implog.8 implogd.8 inetd.8 init.8 \
26	intro.8 kgmon.8 lpc.8 lpd.8 makedev.8 makekey.8 mkhosts.8 \
27	mklost+found.8 mknod.8 mkpasswd.8 mkproto.8 mount.8 named.8 \
28	ncheck.8 newfs.8 pac.8 ping.8 pstat.8 quot.8 quotacheck.8 quotaon.8 \
29	rc.8 rdump.8 renice.8 repquota.8 restore.8 rexecd.8 \
30	rlogind.8 rmt.8 route.8 routed.8 rrestore.8 rshd.8 rwhod.8 sa.8 \
31	savecore.8 sendmail.8 shutdown.8 slattach.8 sticky.8 swapon.8 \
32	sync.8 syslogd.8 talkd.8 telnetd.8 tftpd.8 timed.8 timedc.8 trpt.8 \
33	trsp.8 tunefs.8 update.8 uucico.8 uuclean.8 uupoll.8 uusnap.8 \
34	uuxqt.8 vipw.8
35OBJS=	XNSrouted.0 \
36	ac.0 adduser.0 arp.0 badsect.0 bugfiler.0 chown.0 \
37	clri.0 comsat.0 config.0 cron.0 dcheck.0 disklabel.0 diskpart.0 \
38	dm.0 dmesg.0 dump.0 dumpfs.0 edquota.0 fastboot.0 fingerd.0 \
39	fsck.0 fsdb.0 fstat.0 ftpd.0 gettable.0 getty.0 halt.0 \
40	htable.0 icheck.0 ifconfig.0 implog.0 implogd.0 inetd.0 init.0 \
41	intro.0 kgmon.0 lpc.0 lpd.0 makedev.0 makekey.0 mkhosts.0 \
42	mklost+found.0 mknod.0 mkpasswd.0 mkproto.0 mount.0 named.0 \
43	ncheck.0 newfs.0 pac.0 ping.0 pstat.0 quot.0 quotacheck.0 quotaon.0 \
44	rc.0 rdump.0 renice.0 repquota.0 restore.0 rexecd.0 \
45	rlogind.0 rmt.0 route.0 routed.0 rrestore.0 rshd.0 rwhod.0 sa.0 \
46	savecore.0 sendmail.0 shutdown.0 slattach.0 sticky.0 swapon.0 \
47	sync.0 syslogd.0 talkd.0 telnetd.0 tftpd.0 timed.0 timedc.0 trpt.0 \
48	trsp.0 tunefs.0 update.0 uucico.0 uuclean.0 uupoll.0 uusnap.0 \
49	uuxqt.0 vipw.0
50LINKS=	accton.0 umount.0 mkfs.0 quotaoff.0 uucpd.0 fasthalt.0
51
52.SUFFIXES: .8 .0
53
54.8.0:
55	${DESTDIR}/usr/man/manroff $*.8 > $*.0
56
57all: ${OBJS}
58
59clean: FRC
60	rm -f ${OBJS}
61
62install: FRC
63	cd ${DESTDIR}${MDIR}; rm -f *.0
64	install -c -o bin -g bin -m 444 ${OBJS} ${DESTDIR}${MDIR}
65	ln ${DESTDIR}${MDIR}/sa.0 ${DESTDIR}${MDIR}/accton.0
66	ln ${DESTDIR}${MDIR}/mount.0 ${DESTDIR}${MDIR}/umount.0
67	ln ${DESTDIR}${MDIR}/newfs.0 ${DESTDIR}${MDIR}/mkfs.0
68	ln ${DESTDIR}${MDIR}/quotaon.0 ${DESTDIR}${MDIR}/quotaoff.0
69	ln ${DESTDIR}${MDIR}/uucico.0 ${DESTDIR}${MDIR}/uucpd.0
70	ln ${DESTDIR}${MDIR}/fastboot.0 ${DESTDIR}${MDIR}/fasthalt.0
71
72FRC:
73