From a1337bb0aea1f73b56821753ae8b9758996f55e4 Mon Sep 17 00:00:00 2001 From: jb Date: Sat, 3 May 1997 03:50:06 +0000 Subject: Changed all paths to be relative to src/lib instead of src/lib/libc so that all these makefiles can be used to build libc_r too. Added .if ${LIB} == "c" tests to restrict man page builds to libc to avoid needlessly building them with libc_r too. Split libc Makefile into Makefile and Makefile.inc to allow the libc_r Makefile to include Makefile.inc too. --- lib/libc/db/man/Makefile.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib/libc/db/man') diff --git a/lib/libc/db/man/Makefile.inc b/lib/libc/db/man/Makefile.inc index f55b9f4..a1474b1 100644 --- a/lib/libc/db/man/Makefile.inc +++ b/lib/libc/db/man/Makefile.inc @@ -1,8 +1,12 @@ -# @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 +# from @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 +# #Id$ -.PATH: ${.CURDIR}/db/man +.PATH: ${.CURDIR}/../libc/db/man +# Only build man pages with libc. +.if ${LIB} == "c" # mpool.3 MAN3+= db/man/btree.3 db/man/dbopen.3 db/man/hash.3 db/man/recno.3 MAN3+= db/man/mpool.3 MLINKS+= dbopen.3 db.3 +.endif -- cgit v1.1