svn commit: r271580 - user/ngie/add-pjdfstest/tests/sys/pjdfstest/tests
Garrett Cooper
ngie at FreeBSD.org
Sun Sep 14 09:46:29 UTC 2014
Author: ngie
Date: Sun Sep 14 09:46:28 2014
New Revision: 271580
URL: http://svnweb.freebsd.org/changeset/base/271580
Log:
Use FILES instead of SCRIPTS, and install a symlink to "tests" to mock the structure that the code expects to exist
Modified:
user/ngie/add-pjdfstest/tests/sys/pjdfstest/tests/Makefile
Modified: user/ngie/add-pjdfstest/tests/sys/pjdfstest/tests/Makefile
==============================================================================
--- user/ngie/add-pjdfstest/tests/sys/pjdfstest/tests/Makefile Sun Sep 14 09:30:09 2014 (r271579)
+++ user/ngie/add-pjdfstest/tests/sys/pjdfstest/tests/Makefile Sun Sep 14 09:46:28 2014 (r271580)
@@ -1,11 +1,16 @@
-.PATH: ${.CURDIR:H:H:H:H}/contrib/pjdfstest/tests
+PJDFSTEST_SRCDIR= ${.CURDIR:H:H:H:H}/contrib/pjdfstest
TESTSDIR= ${TESTSBASE}/sys/pjdfstest
-SCRIPTSDIR= ${TESTSDIR}
-SCRIPTS= conf
-SCRIPTS+= misc.sh
-SCRIPTSNAME_misc.sh= misc.sh
+.PATH: ${.CURDIR} ${PJDFSTEST_SRCDIR}/tests
+
+FILESDIR= ${TESTSDIR}
+FILES= conf
+FILES+= misc.sh
+
+afterinstall: install-tests-symlink
+install-tests-symlink: .PHONY
+ ${INSTALL_SYMLINK} . ${DESTDIR}${TESTSDIR}/tests
KYUAFILE= no
More information about the svn-src-user
mailing list