1# $FreeBSD: head/release/doc/Makefile 76082 2001-04-27 21:28:02Z bmah $
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
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."
--- 7 unchanged lines hidden (view full) ---
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 "${DOC_PREFIX}/share/mk/doc.subdir.mk"
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
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."
--- 7 unchanged lines hidden (view full) ---
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 "${DOC_PREFIX}/share/mk/doc.subdir.mk"