|
|
1.1 root 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.3 (Berkeley) 7/9/88
18: #
19: DIRS= man1 man2 man3 man3f man4 man4/vax man4/tahoe man5 man6 \
20: man7 man8 man8/vax man8/tahoe
21: CDIRS= cat1 cat2 cat3 cat3f cat4 cat4/vax cat4/tahoe cat5 cat6 \
22: cat7 cat8 cat8/vax man8/tahoe
23: LCDIRS= cat1 cat2 cat3 cat4 cat5 cat6 cat7 cat8
24:
25: all: scriptinstall FRC
26: for i in ${DIRS}; do \
27: (cd $$i; make ${MFLAGS}); \
28: done
29:
30: scriptinstall: FRC
31: install -c -o bin -g bin -m 444 makewhatis.sed ${DESTDIR}/usr/man/makewhatis.sed
32: install -c -o bin -g bin -m 755 manroff ${DESTDIR}/usr/man/manroff
33:
34: install: FRC
35: for i in ${DIRS}; do \
36: (cd $$i; make ${MFLAGS} DESTDIR=${DESTDIR} install); \
37: done
38: for file in `find /usr/man -type f -name '*.0' -print`; do \
39: sed -n -f /usr/man/makewhatis.sed $$file; \
40: done | sort -u > whatis.db
41: install -o bin -g bin -m 444 whatis.db ${DESTDIR}/usr/man/whatis
42: install -c -o bin -g bin -m 444 man.template ${DESTDIR}/usr/man/man.template
43:
44: manclean: FRC
45: for i in ${DIRS}; do \
46: (cd $$i; make ${MFLAGS} clean); \
47: done
48:
49: clean:
50: depend:
51: lint:
52: tags:
53: FRC:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.