Module Name: src Committed By: christos Date: Thu Jun 9 04:07:46 UTC 2016
Modified Files: src/etc/mtree: Makefile Log Message: Don't run .BEGIN if we are cleaning or making obj. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 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.33 src/etc/mtree/Makefile:1.34 --- src/etc/mtree/Makefile:1.33 Wed Jun 8 23:44:01 2016 +++ src/etc/mtree/Makefile Thu Jun 9 00:07:46 2016 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2016/06/09 03:44:01 christos Exp $ +# $NetBSD: Makefile,v 1.34 2016/06/09 04:07:46 christos Exp $ .include <bsd.own.mk> @@ -41,7 +41,9 @@ EXTRA_DIST_FILES+= NetBSD.dist.extsrc # of the NetBSD.dist.tmp rule, but that needs to have no dependencies # so that it is re-run every time, yet it depends upon files existing. # +.if !target(obj) && !target(clean) && !target(cleandir) .BEGIN: NetBSD.dist.base ${EXTRA_DIST_FILES} +.endif NetBSD.dist: NetBSD.dist.tmp cmp -s NetBSD.dist.tmp NetBSD.dist || { \ echo "Updating NetBSD.dist"; \