version 1.155, 2001/11/13 17:47:16 |
version 1.159, 2001/11/24 21:53:16 |
Line 94 regression-tests: |
|
Line 94 regression-tests: |
|
@(cd ${.CURDIR}/regress && ${MAKE} regress) |
@(cd ${.CURDIR}/regress && ${MAKE} regress) |
.endif |
.endif |
|
|
.if ${MKMAN} != "no" |
|
afterinstall: whatis.db |
|
whatis.db: |
whatis.db: |
|
.if ${MKMAN} != "no" |
(cd ${.CURDIR}/share/man && ${MAKE} makedb) |
(cd ${.CURDIR}/share/man && ${MAKE} makedb) |
.endif |
.endif |
|
|
|
# XXX I wish there was a more rational place to do this, but I can't |
|
# think of one. There is no one place the info/dir file gets generated. |
|
infodir-meta: |
|
.if defined(UNPRIVED) && (${MKINFO} != "no") |
|
echo "${DESTDIR}/usr/share/info/dir type=file mode=0644 uname=root gname=wheel" | \ |
|
sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG} |
|
.endif |
|
|
|
afterinstall: whatis.db infodir-meta |
|
|
# Targets (in order!) called by "make build". |
# Targets (in order!) called by "make build". |
|
|
|
BUILDTARGETS+= check-tools |
.if !defined(UPDATE) && !defined(NOCLEANDIR) |
.if !defined(UPDATE) && !defined(NOCLEANDIR) |
BUILDTARGETS+= cleandir |
BUILDTARGETS+= cleandir |
.endif |
.endif |
|
|
.else |
.else |
@echo -n "Build started at: " && date |
@echo -n "Build started at: " && date |
.for tgt in ${BUILDTARGETS} |
.for tgt in ${BUILDTARGETS} |
(cd ${.CURDIR} && ${MAKE} ${_J} ${tgt}) |
@(cd ${.CURDIR} && ${MAKE} ${_J} ${tgt}) |
.endfor |
.endfor |
@echo -n "Build finished at: " && date |
@echo -n "Build finished at: " && date |
.endif |
.endif |
Line 145 release snapshot: build |
|
Line 155 release snapshot: build |
|
|
|
# Special components of the "make build" process. |
# Special components of the "make build" process. |
|
|
|
check-tools: |
|
.if defined(USE_NEW_TOOLCHAIN) && (${USE_NEW_TOOLCHAIN} != "nowarn") |
|
@echo '*** WARNING: Building on MACHINE=${MACHINE} with USE_NEW_TOOLCHAIN.' |
|
@echo '*** This platform is not yet verified to work with the new toolchain,' |
|
@echo '*** and may result in a failed build or corrupt binaries!' |
|
.endif |
|
|
do-distrib-dirs: |
do-distrib-dirs: |
.if !defined(DESTDIR) || ${DESTDIR} == "" |
.if !defined(DESTDIR) || ${DESTDIR} == "" |
(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) |
(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) |