xref: /original-bsd/share/man/man5/Makefile (revision 9e3bee04)
1#
2# Copyright (c) 1987 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.2 (Berkeley) 07/09/88
18#
19MDIR=	/usr/man/cat5
20SRCS=	L-devices.5 L-dialcodes.5 L.aliases.5 L.cmds.5 L.sys.5 USERFILE.5 \
21	a.out.5 acct.5 aliases.5 ar.5 core.5 dbx.5 dir.5 disklabel.5 \
22	disktab.5 dm.config.5 dump.5 fs.5 fstab.5 gettytab.5 group.5 hosts.5 \
23	map3270.5 \
24	mtab.5 networks.5 passwd.5 phones.5 plot.5 printcap.5 protocols.5 \
25	remote.5 resolver.5 services.5 shells.5 stab.5 tar.5 termcap.5 \
26	tp.5 ttys.5 types.5 tzfile.5 utmp.5 uuencode.5 vfont.5 vgrindefs.5
27OBJS=	L-devices.0 L-dialcodes.0 L.aliases.0 L.cmds.0 L.sys.0 USERFILE.0 \
28	a.out.0 acct.0 aliases.0 ar.0 core.0 dbx.0 dir.0 disklabel.0 \
29	disktab.0 dm.config.0 dump.0 fs.0 fstab.0 gettytab.0 group.0 hosts.0 \
30	map3270.0 \
31	mtab.0 networks.0 passwd.0 phones.0 plot.0 printcap.0 protocols.0 \
32	remote.0 resolver.0 services.0 shells.0 stab.0 tar.0 termcap.0 \
33	tp.0 ttys.0 types.0 tzfile.0 utmp.0 uuencode.0 vfont.0 vgrindefs.0
34LINKS=	inode.0 dumpdates.0 wtmp.0
35
36.SUFFIXES: .5 .0
37
38.5.0:
39	${DESTDIR}/usr/man/manroff $*.5 > $*.0
40
41all: ${OBJS}
42
43clean: FRC
44	rm -f ${OBJS}
45
46install: FRC
47	cd ${DESTDIR}${MDIR}; rm -f *.0
48	install -c -o bin -g bin -m 444 ${OBJS} ${DESTDIR}${MDIR}
49	ln ${DESTDIR}${MDIR}/fs.0 ${DESTDIR}${MDIR}/inode.0
50	ln ${DESTDIR}${MDIR}/dump.0 ${DESTDIR}${MDIR}/dumpdates.0
51	ln ${DESTDIR}${MDIR}/utmp.0 ${DESTDIR}${MDIR}/wtmp.0
52
53FRC:
54