2001-04-27 21:28:02 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
2001-06-06 16:58:09 +00:00
|
|
|
# The user can override the default language to build and install
|
|
|
|
# with the RELNOTES_LANG variable.
|
2001-04-27 21:28:02 +00:00
|
|
|
#
|
2004-08-06 08:41:22 +00:00
|
|
|
SUBDIR = share/sgml
|
2001-06-06 16:58:09 +00:00
|
|
|
.if defined(RELNOTES_LANG) && !empty(RELNOTES_LANG)
|
2004-08-03 22:12:45 +00:00
|
|
|
SUBDIR+= ${RELNOTES_LANG}
|
2001-04-27 21:28:02 +00:00
|
|
|
.else
|
2004-08-03 22:12:45 +00:00
|
|
|
SUBDIR+= en_US.ISO8859-1
|
2001-04-27 21:28:02 +00:00
|
|
|
.endif
|
|
|
|
|
2001-04-29 21:05:12 +00:00
|
|
|
RELN_ROOT?= ${.CURDIR}
|
2001-04-27 21:28:02 +00:00
|
|
|
|
|
|
|
.if defined(SUPHOST)
|
|
|
|
SUPFLAGS+= -h ${SUPHOST}
|
|
|
|
.endif
|
|
|
|
update:
|
|
|
|
.if defined(SUP_UPDATE)
|
|
|
|
.if !defined(DOCSUPFILE)
|
|
|
|
@echo "Error: Please define DOCSUPFILE before doing make update."
|
|
|
|
@exit 1
|
|
|
|
.endif
|
|
|
|
@echo "--------------------------------------------------------------"
|
|
|
|
@echo ">>> Running ${SUP}"
|
|
|
|
@echo "--------------------------------------------------------------"
|
|
|
|
@${SUP} ${SUPFLAGS} ${DOCSUPFILE}
|
|
|
|
.elif defined(CVS_UPDATE)
|
|
|
|
@echo "--------------------------------------------------------------"
|
|
|
|
@echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT}
|
|
|
|
@echo "--------------------------------------------------------------"
|
|
|
|
cd ${.CURDIR}; cvs -q update -P -d
|
|
|
|
.else
|
|
|
|
@echo "Error: Please define either SUP_UPDATE or CVS_UPDATE first."
|
|
|
|
.endif
|
|
|
|
|
2001-04-29 21:05:12 +00:00
|
|
|
.include "${RELN_ROOT}/share/mk/doc.relnotes.mk"
|
2001-04-27 21:28:02 +00:00
|
|
|
.include "${DOC_PREFIX}/share/mk/doc.subdir.mk"
|