Use doc.project.mk in place of docproj.docbook.mk.

Use the new ROOT_SYMLINKS variable where necessary.
This commit is contained in:
Nik Clayton 1999-09-03 17:24:47 +00:00
parent 30bff5e9ff
commit 20f7d377d1
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=5511
16 changed files with 61 additions and 129 deletions

View file

@ -1,21 +1,8 @@
# $Id: Makefile,v 1.4 1999-08-26 19:42:13 nik Exp $
# $Id: Makefile,v 1.5 1999-09-03 17:24:42 nik Exp $
SUBDIR = books
COMPAT_SYMLINK = zh
#
# Put the compatability symlink in place.
#
afterinstall:
.if !defined(IGNORE_COMPAT_SYMLINK)
if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then \
rm -rf ${DOCDIR}/${COMPAT_SYMLINK}; \
(cd ${DOCDIR} && ln -s zh_TW.Big5 ${COMPAT_SYMLINK}); \
fi
.endif
.include <bsd.subdir.mk>
DOC_PREFIX = ..
.include "../share/mk/docproj.docbook.mk"
DOC_PREFIX = ${.CURDIR}/..
.include "${DOC_PREFIX}/share/mk/doc.project.mk"

View file

@ -1,5 +1,8 @@
# $Id: Makefile,v 1.1 1999-08-19 03:56:48 foxfair Exp $
# $Id: Makefile,v 1.2 1999-09-03 17:24:47 nik Exp $
SUBDIR = faq
.include <bsd.subdir.mk>
ROOT_SYMLINKS = faq
DOC_PREFIX?= ${.CURDIR}/../..
.include "${DOC_PREFIX}/share/mk/doc.project.mk"