Split out afterdistribute and distribute from BKTGTS because they do

need MK_ENV. This should make release work again. Maybe we should get
rid of the /usr/obj/elf at some stage?
This commit is contained in:
John Hay 1998-12-20 14:30:08 +00:00
parent f2d4e36cce
commit aabd5a1c7b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=41957

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile.inc0,v 1.11 1998/10/17 15:25:26 bde Exp $
# $Id: Makefile.inc0,v 1.12 1998/12/16 11:45:51 ache Exp $
#
# This makefile ensures that the object directory is set according to the
# object format to avoid mixing aout and elf formatted files during the
@ -29,8 +29,8 @@ MAKE= make -m ${.CURDIR}/share/mk -f Makefile.inc1
#
# These are the backend targets.
#
BKTGTS= afterdistribute all checkdpadd clean cleandepend cleandir \
depend distribute everything hierarchy includes install installmost \
BKTGTS= all checkdpadd clean cleandepend cleandir \
depend everything hierarchy includes install installmost \
lint maninstall mk most obj objlink regress rerelease \
tags update
@ -40,6 +40,14 @@ BKTGTS= afterdistribute all checkdpadd clean cleandepend cleandir \
${BKTGTS} :
@cd ${.CURDIR}; ${MAKE} ${.TARGET}
# These targets are used during a make release, which is done after a
# make world, so they should use the same OBJDIRPREFIX that was used
# during the make world.
RELTGTS= afterdistribute distribute
${RELTGTS} :
@cd ${.CURDIR}; ${MK_ENV} ${MAKE} ${.TARGET}
#
# Temporary path and environment for the legacy build.
#