diff options
Diffstat (limited to 'share/examples/tests/tests/plain/Makefile')
-rw-r--r-- | share/examples/tests/tests/plain/Makefile | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/share/examples/tests/tests/plain/Makefile b/share/examples/tests/tests/plain/Makefile index e01de61..d9807aa 100644 --- a/share/examples/tests/tests/plain/Makefile +++ b/share/examples/tests/tests/plain/Makefile @@ -2,11 +2,11 @@ .include <bsd.own.mk> -FILESGROUPS= FILES +# The release package to use for the tests contained within the directory +# +# This applies to components which rely on ^/projects/release-pkg support +# (see UPDATING XXXXXXXXX / svn revision r298107). PACKAGE= tests -FILESGROUPS+= TESTS -TESTSPACKAGE= ${PACKAGE} -TESTS+= Kyuafile # Directory into which the Kyuafile provided by this directory will be # installed. @@ -33,4 +33,19 @@ PLAIN_TESTS_SH= cp_test # definitions from above. KYUAFILE= yes +# Install file1 and file2 as files via bsd.prog.mk. Please note the intentional +# ${PACKAGE} namespace of files. +# +# The basic semantics of this are the same as FILES in bsd.prog.mk, e.g. the +# installation of the files can be manipulated via ${PACKAGE}FILESDIR, +# ${PACKAGE}FILESMODE, etc. +# +# Please see comment above about ${PACKAGE}. Feel free to omit the ${PACKAGE} +# namespace if release package support isn't needed. +${PACKAGE}FILES+= file1 +CLEANFILES+= file1 + +file1: + @echo "File 1" > ${.TARGET} + .include <bsd.test.mk> |