Source-Changes-HG archive

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

[src/trunk]: src/etc/mtree Revert previous now that "make cleandir" uses bsd....



details:   https://anonhg.NetBSD.org/src/rev/07c1c863540b
branches:  trunk
changeset: 769444:07c1c863540b
user:      apb <apb%NetBSD.org@localhost>
date:      Sat Sep 10 17:02:46 2011 +0000

description:
Revert previous now that "make cleandir" uses bsd.clean.mk to clean
both the obj dir and the src dir.

diffstat:

 etc/mtree/Makefile |  13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r 569678cc8a01 -r 07c1c863540b etc/mtree/Makefile
--- a/etc/mtree/Makefile        Sat Sep 10 16:57:35 2011 +0000
+++ b/etc/mtree/Makefile        Sat Sep 10 17:02:46 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.21 2011/09/05 09:57:02 apb Exp $
+#      $NetBSD: Makefile,v 1.22 2011/09/10 17:02:46 apb Exp $
 
 .include <bsd.own.mk>
 
@@ -26,13 +26,12 @@
 EXTRA_DIST_FILES+=     ${.CURDIR}/NetBSD.dist.extsrc
 .endif
 
-NetBSD.dist.tmp=       ${.OBJDIR}/NetBSD.dist.tmp
-NetBSD.dist:   ${NetBSD.dist.tmp}
-       cmp -s ${NetBSD.dist.tmp} ${.TARGET} || { \
+NetBSD.dist:   NetBSD.dist.tmp
+       cmp -s NetBSD.dist.tmp NetBSD.dist || { \
                echo "Updating NetBSD.dist"; \
-               mv ${NetBSD.dist.tmp} ${.TARGET}; \
+               mv NetBSD.dist.tmp NetBSD.dist; \
        }
-${NetBSD.dist.tmp}::
+NetBSD.dist.tmp::
        ${TOOL_CAT} ${.CURDIR}/NetBSD.dist.base ${EXTRA_DIST_FILES} > \
            ${.TARGET}
 
@@ -72,6 +71,6 @@
 .endif # MKUNPRIVED                                                    # }
 .endif # DISTRIBUTION_DONE                                             # }
 
-CLEANFILES+=   NetBSD.dist ${NetBSD.dist.tmp}
+CLEANFILES+=   NetBSD.dist NetBSD.dist.tmp
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index