diff options
| author | apb <apb@NetBSD.org> | 2014-08-21 22:00:30 +0000 |
|---|---|---|
| committer | apb <apb@NetBSD.org> | 2014-08-21 22:00:30 +0000 |
| commit | f7e90bca2b094461764e0f4f39bb46b85afc1930 (patch) | |
| tree | ade921f752ef6daca9ae95e5842da28d01e4972d /usr.bin | |
| parent | 6f399ed1cb9c22c3a45394871507de369cd39e3f (diff) | |
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 (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/make/unit-tests/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/unit-tests/Makefile b/usr.bin/make/unit-tests/Makefile index 987c7b3546a..aeaa17e8264 100644 --- a/usr.bin/make/unit-tests/Makefile +++ b/usr.bin/make/unit-tests/Makefile @@ -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. |
