xref: /original-bsd/share/man/man7/Makefile (revision e877e4b2)
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 this notice is preserved and that due credit is given
7# to the University of California at Berkeley. The name of the University
8# may not be used to endorse or promote products derived from this
9# software without specific prior written permission. This software
10# is provided ``as is'' without express or implied warranty.
11#
12#	@(#)Makefile	5.1 (Berkeley) 12/12/87
13#
14MDIR=	/usr/man/cat7
15SRCS=	ascii.7 environ.7 eqnchar.7 hier.7 hostname.7 intro.7 mailaddr.7 \
16	man.7 me.7 ms.7 term.7
17OBJS=	ascii.0 environ.0 eqnchar.0 hier.0 hostname.0 intro.0 mailaddr.0 \
18	man.0 me.0 ms.0 term.0
19LINKS=	miscellaneous.0
20
21.SUFFIXES: .7 .0
22
23.7.0:
24	${DESTDIR}/usr/man/manroff $*.7 > $*.0
25
26all: ${OBJS}
27
28clean: FRC
29	rm -f ${OBJS}
30
31install: FRC
32	cd ${DESTDIR}${MDIR}; rm -f *.0
33	install -c -o bin -g bin -m 444 ${OBJS} ${DESTDIR}${MDIR}
34	ln ${DESTDIR}${MDIR}/intro.0 ${DESTDIR}${MDIR}/miscellaneous.0
35
36FRC:
37