doc/Makefile
Hiroki Sato 52f6d56540 - Use /usr/bin/svnlite as SVN if available.
- Replace /XML/{doc,www}/ with /XML/ in SysId.
- Remove empty stylesheets in share/xsl and point share/xml/empty.xsl via
  XML catalog instead.
- Change the L10N layer in freebsd-*.xsl not to use localized XSLT
  stylesheets directly.
- Move share/xsl/* to share/xml and remove share/xsl.
- Remove obsolete share/web2c/pdftex.def.
2013-11-13 06:10:37 +00:00

55 lines
1.4 KiB
Makefile

# $FreeBSD$
#
# The user can override the default list of languages to build and install
# with the DOC_LANG variable.
#
.if defined(ENGLISH_ONLY) && !empty(ENGLISH_ONLY)
DOC_LANG= en_US.ISO8859-1
.endif
.if defined(DOC_LANG) && !empty(DOC_LANG)
SUBDIR = ${DOC_LANG}
.else
SUBDIR = en_US.ISO8859-1
SUBDIR+= bn_BD.UTF-8
SUBDIR+= da_DK.ISO8859-1
SUBDIR+= de_DE.ISO8859-1
SUBDIR+= el_GR.ISO8859-7
SUBDIR+= es_ES.ISO8859-1
SUBDIR+= fr_FR.ISO8859-1
SUBDIR+= hu_HU.ISO8859-2
SUBDIR+= it_IT.ISO8859-15
SUBDIR+= ja_JP.eucJP
SUBDIR+= mn_MN.UTF-8
SUBDIR+= nl_NL.ISO8859-1
SUBDIR+= pl_PL.ISO8859-2
SUBDIR+= pt_BR.ISO8859-1
SUBDIR+= ru_RU.KOI8-R
SUBDIR+= sr_YU.ISO8859-2
SUBDIR+= tr_TR.ISO8859-9
SUBDIR+= zh_CN.GB2312
SUBDIR+= zh_TW.Big5
.endif
DOC_PREFIX?= ${.CURDIR}
.if exists(/usr/bin/svnlite)
SVN?= /usr/bin/svnlite
.else
SVN?= /usr/local/bin/svn
.endif
update:
.if !exists(${SVN})
@${ECHODIR} "--------------------------------------------------------------"
@${ECHODIR} ">>> ${SVN} is required to update ${.CURDIR}"
@${ECHODIR} "--------------------------------------------------------------"
@${EXIT}
.else
@${ECHODIR} "--------------------------------------------------------------"
@${ECHODIR} ">>> Updating ${.CURDIR} from svn repository"
@${ECHODIR} "--------------------------------------------------------------"
cd ${.CURDIR}; ${SVN} update
.endif
.include "${DOC_PREFIX}/share/mk/doc.project.mk"