Module Name: src
Committed By: apb
Date: Thu Aug 21 22:00:30 UTC 2014
Modified Files:
src/usr.bin/make/unit-tests: Makefile
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/usr.bin/make/unit-tests/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/unit-tests/Makefile
diff -u src/usr.bin/make/unit-tests/Makefile:1.43 src/usr.bin/make/unit-tests/Makefile:1.44
--- src/usr.bin/make/unit-tests/Makefile:1.43 Thu Aug 21 15:37:13 2014
+++ src/usr.bin/make/unit-tests/Makefile Thu Aug 21 22:00:30 2014
@@ -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.