| @@ -1,35 +1,35 @@ | | | @@ -1,35 +1,35 @@ |
1 | # $NetBSD: Linux.bsd.man.mk,v 1.8 2011/01/10 10:16:31 markd Exp $ | | 1 | # $NetBSD: Linux.bsd.man.mk,v 1.8.2.1 2011/01/19 00:08:20 sbd Exp $ |
2 | # @(#)bsd.man.mk 8.1 (Berkeley) 6/8/93 | | 2 | # @(#)bsd.man.mk 8.1 (Berkeley) 6/8/93 |
3 | | | 3 | |
4 | .if !target(__initialized__) | | 4 | .if !target(__initialized__) |
5 | __initialized__: | | 5 | __initialized__: |
6 | .if exists(${.CURDIR}/../Makefile.inc) | | 6 | .if exists(${.CURDIR}/../Makefile.inc) |
7 | .include "${.CURDIR}/../Makefile.inc" | | 7 | .include "${.CURDIR}/../Makefile.inc" |
8 | .endif | | 8 | .endif |
9 | .include <bsd.own.mk> | | 9 | .include <bsd.own.mk> |
10 | .include <bsd.obj.mk> | | 10 | .include <bsd.obj.mk> |
11 | .include <bsd.depall.mk> | | 11 | .include <bsd.depall.mk> |
12 | .MAIN: all | | 12 | .MAIN: all |
13 | .endif | | 13 | .endif |
14 | | | 14 | |
15 | .PHONY: catinstall maninstall catpages manpages catlinks manlinks cleanman html installhtml cleanhtml | | 15 | .PHONY: catinstall maninstall catpages manpages catlinks manlinks cleanman html installhtml cleanhtml |
16 | .if ${MKMAN} != "no" | | 16 | .if ${MKMAN} != "no" |
17 | realinstall: ${MANINSTALL} | | 17 | realinstall: ${MANINSTALL} |
18 | .endif | | 18 | .endif |
19 | cleandir: cleanman | | 19 | cleandir: cleanman |
20 | | | 20 | |
21 | .if exists(${DESTDIR}/usr/share/groff/1.21/tmac) | | 21 | .if exists(${DESTDIR}/usr/share/groff/1.21/tmac) |
22 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.20.1/tmac | | 22 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.21/tmac |
23 | .elif exists(${DESTDIR}/usr/share/groff/1.20.1/tmac) | | 23 | .elif exists(${DESTDIR}/usr/share/groff/1.20.1/tmac) |
24 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.20.1/tmac | | 24 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.20.1/tmac |
25 | .elif exists(${DESTDIR}/usr/share/groff/1.19.2/tmac) | | 25 | .elif exists(${DESTDIR}/usr/share/groff/1.19.2/tmac) |
26 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.19.2/tmac | | 26 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.19.2/tmac |
27 | .elif exists(${DESTDIR}/usr/share/groff/1.19.1/tmac) | | 27 | .elif exists(${DESTDIR}/usr/share/groff/1.19.1/tmac) |
28 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.19.1/tmac | | 28 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.19.1/tmac |
29 | .elif exists(${DESTDIR}/usr/share/groff/1.18.1.1/tmac) | | 29 | .elif exists(${DESTDIR}/usr/share/groff/1.18.1.1/tmac) |
30 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.18.1.1/tmac | | 30 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.18.1.1/tmac |
31 | .elif exists(${DESTDIR}/usr/share/groff/1.18.1.4/tmac) | | 31 | .elif exists(${DESTDIR}/usr/share/groff/1.18.1.4/tmac) |
32 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.18.1.4/tmac | | 32 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.18.1.4/tmac |
33 | .elif exists(${DESTDIR}/usr/share/groff/1.18.1/tmac) | | 33 | .elif exists(${DESTDIR}/usr/share/groff/1.18.1/tmac) |
34 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.18.1/tmac | | 34 | TMACDIR?= ${DESTDIR}/usr/share/groff/1.18.1/tmac |
35 | .elif exists(${DESTDIR}/usr/share/groff/1.17.2/tmac) | | 35 | .elif exists(${DESTDIR}/usr/share/groff/1.17.2/tmac) |