View | Details | Raw Unified | Return to bug 15439
Collapse All | Expand All

(-)doc/Makefile (+20 lines)
Lines 14-17 Link Here
14
.endif
14
.endif
15
15
16
DOC_PREFIX?=   ${.CURDIR}
16
DOC_PREFIX?=   ${.CURDIR}
17
18
update:
19
.if defined(SUP_UPDATE)
20
.if !defined(DOCSUPFILE)
21
	@echo "Error: Please define DOCSUPFILE before doing make update."
22
	@exit 1
23
.endif
24
	@echo "--------------------------------------------------------------"
25
	@echo ">>> Running ${SUP}"
26
	@echo "--------------------------------------------------------------"
27
	@${SUP} ${SUPFLAGS} ${DOCSUPFILE}
28
.elif defined(CVS_UPDATE)
29
	@echo "--------------------------------------------------------------"
30
	@echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT}
31
	@echo "--------------------------------------------------------------"
32
	cd ${.CURDIR}; cvs -q update -P -d
33
.else
34
	@echo "Error: Please define either SUP_UPDATE or CVS_UPDATE first."
35
.endif
36
17
.include "${DOC_PREFIX}/share/mk/doc.subdir.mk"
37
.include "${DOC_PREFIX}/share/mk/doc.subdir.mk"
(-)src/etc/defaults/make.conf (+1 lines)
Lines 185-190 Link Here
185
#SUPFILE=        /usr/share/examples/cvsup/standard-supfile
185
#SUPFILE=        /usr/share/examples/cvsup/standard-supfile
186
#SUPFILE1=       /usr/share/examples/cvsup/secure-supfile
186
#SUPFILE1=       /usr/share/examples/cvsup/secure-supfile
187
#PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
187
#PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
188
#DOCSUPFILE=     /usr/share/examples/cvsup/doc-supfile
188
#
189
#
189
# top(1) uses a hash table for the user names.  The size of this hash
190
# top(1) uses a hash table for the user names.  The size of this hash
190
# can be tuned to match the number of local users.  The table size should
191
# can be tuned to match the number of local users.  The table size should

Return to bug 15439