4e702f5b14
manual pages, to avoid duplicating work between the Hardware Notes and manual pages. Each text line in the output from the manual page parser is generated as a SGML entity, making it possible for translators to only translate lines which actually contains English text (this neat idea came from hrs). To determine which drivers are usable on which architectures the dev.archlist.txt file is used to explicitly list this. It it an imperfect solution, but the best I have been able to come up with for now. This commit converts most of the devices which has a section 4 manual page with a HARDWARE section to be the new auto generated format. Reviewed in principle by: ru, hrs, trhodes Good ideas for improvements: hrs No objections: -doc, re
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
#
|
|
# The user can override the default language to build and install
|
|
# with the RELNOTES_LANG variable.
|
|
#
|
|
SUBDIR = share/sgml
|
|
.if defined(RELNOTES_LANG) && !empty(RELNOTES_LANG)
|
|
SUBDIR+= ${RELNOTES_LANG}
|
|
.else
|
|
SUBDIR+= en_US.ISO8859-1
|
|
.endif
|
|
|
|
RELN_ROOT?= ${.CURDIR}
|
|
|
|
.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
|
|
|
|
.include "${RELN_ROOT}/share/mk/doc.relnotes.mk"
|
|
.include "${DOC_PREFIX}/share/mk/doc.subdir.mk"
|