1# $FreeBSD: head/release/doc/Makefile 76082 2001-04-27 21:28:02Z bmah $
| 1# $FreeBSD: head/release/doc/Makefile 76140 2001-04-29 21:05:12Z dd $
|
2# 3# The user can override the default list of languages to build and install 4# with the DOC_LANG variable. 5# 6.if defined(DOC_LANG) && !empty(DOC_LANG) 7SUBDIR = ${DOC_LANG} 8.else 9SUBDIR = en_US.ISO_8859-1 10.endif 11
| 2# 3# The user can override the default list of languages to build and install 4# with the DOC_LANG variable. 5# 6.if defined(DOC_LANG) && !empty(DOC_LANG) 7SUBDIR = ${DOC_LANG} 8.else 9SUBDIR = en_US.ISO_8859-1 10.endif 11
|
12DOC_PREFIX?= /usr/doc
| 12RELN_ROOT?= ${.CURDIR}
|
13 14.if defined(SUPHOST) 15SUPFLAGS+= -h ${SUPHOST} 16.endif 17update: 18.if defined(SUP_UPDATE) 19.if !defined(DOCSUPFILE) 20 @echo "Error: Please define DOCSUPFILE before doing make update." 21 @exit 1 22.endif 23 @echo "--------------------------------------------------------------" 24 @echo ">>> Running ${SUP}" 25 @echo "--------------------------------------------------------------" 26 @${SUP} ${SUPFLAGS} ${DOCSUPFILE} 27.elif defined(CVS_UPDATE) 28 @echo "--------------------------------------------------------------" 29 @echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT} 30 @echo "--------------------------------------------------------------" 31 cd ${.CURDIR}; cvs -q update -P -d 32.else 33 @echo "Error: Please define either SUP_UPDATE or CVS_UPDATE first." 34.endif 35
| 13 14.if defined(SUPHOST) 15SUPFLAGS+= -h ${SUPHOST} 16.endif 17update: 18.if defined(SUP_UPDATE) 19.if !defined(DOCSUPFILE) 20 @echo "Error: Please define DOCSUPFILE before doing make update." 21 @exit 1 22.endif 23 @echo "--------------------------------------------------------------" 24 @echo ">>> Running ${SUP}" 25 @echo "--------------------------------------------------------------" 26 @${SUP} ${SUPFLAGS} ${DOCSUPFILE} 27.elif defined(CVS_UPDATE) 28 @echo "--------------------------------------------------------------" 29 @echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT} 30 @echo "--------------------------------------------------------------" 31 cd ${.CURDIR}; cvs -q update -P -d 32.else 33 @echo "Error: Please define either SUP_UPDATE or CVS_UPDATE first." 34.endif 35
|
| 36.include "${RELN_ROOT}/share/mk/doc.relnotes.mk"
|
36.include "${DOC_PREFIX}/share/mk/doc.subdir.mk"
| 37.include "${DOC_PREFIX}/share/mk/doc.subdir.mk"
|