Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/mtree remove some unnecessary .OBJDIR prefixes in make t...



details:   https://anonhg.NetBSD.org/src/rev/d2a9ea8d80d1
branches:  trunk
changeset: 749159:d2a9ea8d80d1
user:      drochner <drochner%NetBSD.org@localhost>
date:      Thu Nov 19 19:57:40 2009 +0000

description:
remove some unnecessary .OBJDIR prefixes in make targets
being here, add NetBSD.dist to CLEANFILES

diffstat:

 etc/mtree/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 4c0c7a3f87ca -r d2a9ea8d80d1 etc/mtree/Makefile
--- a/etc/mtree/Makefile        Thu Nov 19 19:28:14 2009 +0000
+++ b/etc/mtree/Makefile        Thu Nov 19 19:57:40 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2009/11/02 10:23:40 stacktic Exp $
+#      $NetBSD: Makefile,v 1.10 2009/11/19 19:57:40 drochner Exp $
 
 .include <bsd.own.mk>
 
@@ -12,7 +12,7 @@
 NETBSD_DIST_X11_FILE=
 .endif
 
-${.OBJDIR}/NetBSD.dist:        NetBSD.dist.base ${NETBSD_DIST_X11_FILE}
+NetBSD.dist:   NetBSD.dist.base ${NETBSD_DIST_X11_FILE}
        ${TOOL_CAT} ${.CURDIR}/NetBSD.dist.base ${NETBSD_DIST_X11_FILE} > \
            ${.TARGET}
 
@@ -28,7 +28,7 @@
 TOOL_MTREE.unpriv=     -W
 .endif
 
-distrib-dirs: .PHONY check_DESTDIR ${.OBJDIR}/NetBSD.dist
+distrib-dirs: .PHONY check_DESTDIR 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
@@ -45,4 +45,6 @@
 .endif # MKUNPRIVED                                                    # }
 .endif # DISTRIBUTION_DONE                                             # }
 
+CLEANFILES+=   NetBSD.dist
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index