| version 1.120, 2000/08/19 22:09:08 |
version 1.121, 2000/10/07 17:18:17 |
|
|
| @echo -n "Build started at: " |
@echo -n "Build started at: " |
| @date |
@date |
| |
|
| |
# If sharesrc is around, use its share/mk files to bootstrap until the |
| |
# mk files are installed (first step of make build). If installing to |
| |
# DESTDIR, don't bother, since the build will fail later on anyway. |
| |
|
| beforeinstall: |
beforeinstall: |
| .ifndef NODISTRIBDIRS |
.ifndef NODISTRIBDIRS |
| .ifndef DESTDIR |
.ifndef DESTDIR |
| |
.if exists(share/mk) |
| |
(cd ${.CURDIR}/etc && ${MAKE} -m ${.CURDIR}/share/mk DESTDIR=/ distrib-dirs) |
| |
.else |
| (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) |
(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) |
| |
.endif |
| .else |
.else |
| (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs) |
(cd ${.CURDIR}/etc && ${MAKE} distrib-dirs) |
| .endif |
.endif |