Cause the release target to set up its object directory. It is designed
to be a meta-target, and having it do this avoids it spewing files all over the source tree by default (and possible recursive tarring if distributing a src tarball).
This commit is contained in:
parent
bb16aa8120
commit
3a20439f1c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220037
@ -142,7 +142,7 @@ ftp: packagesystem
|
||||
mkdir ${.OBJDIR}/ftp
|
||||
cp ${.OBJDIR}/*.txz ${.OBJDIR}/MANIFEST ${.OBJDIR}/ftp
|
||||
|
||||
release: ${RELEASE_TARGETS}
|
||||
release: obj ${RELEASE_TARGETS}
|
||||
|
||||
clean:
|
||||
chflags -R noschg ${.OBJDIR}
|
||||
|
@ -60,7 +60,7 @@ if [ -d $2/usr/doc ]; then
|
||||
fi
|
||||
|
||||
chroot $2 /bin/sh -c "cd /usr/src && make $MAKE_FLAGS buildworld buildkernel" || exit 1
|
||||
chroot $2 /bin/sh -c "cd /usr/src/release && make obj release" || exit 1
|
||||
chroot $2 /bin/sh -c "cd /usr/src/release && make release" || exit 1
|
||||
mkdir $2/R
|
||||
cp -pRP $2/usr/obj/usr/src/release/release.iso $2/usr/obj/usr/src/release/memstick $2/usr/obj/usr/src/release/ftp $2/R
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user