version 1.105, 1999/03/05 07:21:44 |
version 1.106, 1999/03/08 02:37:56 |
|
|
# snapshot: calls distribution, above, and then tars up the files |
# snapshot: calls distribution, above, and then tars up the files |
# into a release(7) format in RELEASEDIR. Any port-dependent |
# into a release(7) format in RELEASEDIR. Any port-dependent |
# stuff for this target is found in etc.${MACHINE}/Makefile.inc. |
# stuff for this target is found in etc.${MACHINE}/Makefile.inc. |
|
# release: a synonym for `snapshot' |
|
|
# XXX: For NO_SENDMAIL and USE_BIND4 |
# XXX: For NO_SENDMAIL and USE_BIND4 |
.include <bsd.own.mk> |
.include <bsd.own.mk> |
|
|
all clean cleandir depend distclean etc includes install lint: |
all clean cleandir depend distclean etc includes install lint: |
|
|
.ifndef DESTDIR |
.ifndef DESTDIR |
distribution distrib-dirs snapshot: |
distribution distrib-dirs release snapshot: |
@echo setenv DESTDIR before doing that! |
@echo setenv DESTDIR before doing that! |
@false |
@false |
.else |
.else |
|
|
cd ${DESTDIR}; rm -f sys; ln -s usr/src/sys sys |
cd ${DESTDIR}; rm -f sys; ln -s usr/src/sys sys |
|
|
.if !defined(RELEASEDIR) |
.if !defined(RELEASEDIR) |
snapshot snap_pre: |
release snapshot snap_pre: |
@echo setenv RELEASEDIR before doing that! |
@echo setenv RELEASEDIR before doing that! |
@false |
@false |
.else |
.else |