PERFORCE change 122376 for review
Gabor Kovesdan
gabor at FreeBSD.org
Wed Jun 27 06:36:27 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=122376
Change 122376 by gabor at gabor_server on 2007/06/27 06:36:01
- Add a post-post-chroot target, which runs after the chrooted process
is ended. This can be used for special cleanup cases.
Affected files ...
.. //depot/projects/soc2006/gabor_destdir/Mk/bsd.destdir.mk#10 edit
Differences ...
==== //depot/projects/soc2006/gabor_destdir/Mk/bsd.destdir.mk#10 (text+ko) ====
@@ -26,7 +26,7 @@
.endfor
.for _target in ${.TARGETS}
-${_target}: pre-chroot do-chroot
+${_target}: pre-chroot do-chroot post-post-chroot
@${TRUE}
.endfor
@@ -59,3 +59,8 @@
${UMOUNT} ${DESTDIR}${PORTSDIR_TMP_REL}; \
${RMDIR} ${DESTDIR}${PORTSDIR_TMP_REL}
.endif
+
+.if !target(post-post-chroot)
+post-post-chroot:
+ @${TRUE}
+.endif
More information about the p4-projects
mailing list