Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make/unit-tests Add a .PATH, so you can be in any ot...
details: https://anonhg.NetBSD.org/src/rev/546410d55319
branches: trunk
changeset: 331726:546410d55319
user: apb <apb%NetBSD.org@localhost>
date: Thu Aug 21 22:00:30 2014 +0000
description:
Add a .PATH, so you can be in any other directory and run
"make -f /path/to/this/Makefile sometest.out"
and have it create sometest.out in your current directory.
diffstat:
usr.bin/make/unit-tests/Makefile | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 77f9d5d0c6be -r 546410d55319 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile Thu Aug 21 15:43:35 2014 +0000
+++ b/usr.bin/make/unit-tests/Makefile Thu Aug 21 22:00:30 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2014/08/21 15:37:13 apb Exp $
+# $NetBSD: Makefile,v 1.44 2014/08/21 22:00:30 apb Exp $
#
# Unit tests for make(1)
# The main targets are:
@@ -16,6 +16,7 @@
.MAIN: all
UNIT_TESTS:= ${.PARSEDIR}
+.PATH: ${UNIT_TESTS}
# Each test is in a sub-makefile.
# Keep the list sorted.
Home |
Main Index |
Thread Index |
Old Index