Module Name: src Committed By: dyoung Date: Tue Apr 27 03:01:25 UTC 2010
Modified Files: src/etc/mtree: Makefile Log Message: Describe in a comment what the emit_dist_file target is for. Under some circumstances, ${TOOL_CAT} may refer to an executable that does not exist. As a stopgap fix, use cat(1) instead of ${TOOL_CAT} in emit_dist_file. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/etc/mtree/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/etc/mtree/Makefile diff -u src/etc/mtree/Makefile:1.16 src/etc/mtree/Makefile:1.17 --- src/etc/mtree/Makefile:1.16 Fri Apr 23 19:21:08 2010 +++ src/etc/mtree/Makefile Tue Apr 27 03:01:25 2010 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2010/04/23 19:21:08 dyoung Exp $ +# $NetBSD: Makefile,v 1.17 2010/04/27 03:01:25 dyoung Exp $ .include <bsd.own.mk> @@ -39,8 +39,12 @@ TOOL_MTREE.unpriv= -W .endif +# postinstall(8) invokes this target to produce the right +# /etc/mtree/NetBSD.dist content without duplicating logic from +# the Makefile. +# emit_dist_file: - ${TOOL_CAT} ${.CURDIR}/NetBSD.dist.base ${EXTRA_DIST_FILES} + cat ${.CURDIR}/NetBSD.dist.base ${EXTRA_DIST_FILES} distrib-dirs: .PHONY check_DESTDIR NetBSD.dist .if !defined(DISTRIBUTION_DONE) # {