Module Name:    src
Committed By:   stacktic
Date:           Mon Nov  2 10:23:40 UTC 2009

Modified Files:
        src/etc/mtree: Makefile

Log Message:
Fixed NetBSD.dist target


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 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.8 src/etc/mtree/Makefile:1.9
--- src/etc/mtree/Makefile:1.8	Sun Oct 18 12:41:06 2009
+++ src/etc/mtree/Makefile	Mon Nov  2 10:23:40 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2009/10/18 12:41:06 stacktic Exp $
+#	$NetBSD: Makefile,v 1.9 2009/11/02 10:23:40 stacktic Exp $
 
 .include <bsd.own.mk>
 
@@ -12,9 +12,9 @@
 NETBSD_DIST_X11_FILE=
 .endif
 
-NetBSD.dist:	NetBSD.dist.base ${NETBSD_DIST_X11_FILE}
+${.OBJDIR}/NetBSD.dist:	NetBSD.dist.base ${NETBSD_DIST_X11_FILE}
 	${TOOL_CAT} ${.CURDIR}/NetBSD.dist.base ${NETBSD_DIST_X11_FILE} > \
-	    ${.OBJDIR}/NetBSD.dist
+	    ${.TARGET}
 
 CONFIGFILES=	NetBSD.dist special
 FILESDIR=	/etc/mtree
@@ -28,7 +28,7 @@
 TOOL_MTREE.unpriv=	-W
 .endif
 
-distrib-dirs: .PHONY check_DESTDIR NetBSD.dist
+distrib-dirs: .PHONY check_DESTDIR ${.OBJDIR}/NetBSD.dist
 .if !defined(DISTRIBUTION_DONE)						# {
 # Create DESTDIR using HOST_INSTALL_DIR, not INSTALL_DIR, because
 # INSTALL_DIR would want to write to the metalog, and it can't do that

Reply via email to