pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools Import pkgtasks-1-1.9 as pkgsrc/pkgtools/pkgt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/55a89f8ab8cc
branches:  trunk
changeset: 363089:55a89f8ab8cc
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Jun 01 01:58:34 2017 +0000

description:
Import pkgtasks-1-1.9 as pkgsrc/pkgtools/pkgtasks.

pkgtasks is a shell script library to ease writing POSIX-compliant
shell scripts to handle common tasks during installation or removal
of a package, e.g.,

  * creating groups and users needed by the package

  * creating and removing directories with special permissions and
    ownership,

  * copying example config files to their final locations during
    package installation, and removing them during package removal
    if they don't differ from the example ones,

  * reminding the user of files that may be customized after
    package installation.

diffstat:

 pkgtools/Makefile                                |     3 +-
 pkgtools/pkgtasks/DESCR                          |    15 +
 pkgtools/pkgtasks/Makefile                       |    22 +
 pkgtools/pkgtasks/PLIST                          |    91 +
 pkgtools/pkgtasks/files/AUTHORS                  |     1 +
 pkgtools/pkgtasks/files/COPYING                  |    26 +
 pkgtools/pkgtasks/files/Makefile.am              |   496 ++
 pkgtools/pkgtasks/files/Makefile.in              |  1034 ++++++
 pkgtools/pkgtasks/files/README.md                |    98 +
 pkgtools/pkgtasks/files/aclocal.m4               |   773 ++++
 pkgtools/pkgtasks/files/build-aux/install-sh     |   301 +
 pkgtools/pkgtasks/files/build-aux/missing        |   215 +
 pkgtools/pkgtasks/files/cleanup.subr             |    68 +
 pkgtools/pkgtasks/files/compare.subr             |    61 +
 pkgtools/pkgtasks/files/configure                |  3707 ++++++++++++++++++++++
 pkgtools/pkgtasks/files/configure.ac             |    66 +
 pkgtools/pkgtasks/files/createfile.subr          |    76 +
 pkgtools/pkgtasks/files/directories.subr         |   388 ++
 pkgtools/pkgtasks/files/dirwalk.subr             |   148 +
 pkgtools/pkgtasks/files/echo.subr                |   113 +
 pkgtools/pkgtasks/files/files.subr               |   406 ++
 pkgtools/pkgtasks/files/fonts.subr               |   431 ++
 pkgtools/pkgtasks/files/groups.subr              |   240 +
 pkgtools/pkgtasks/files/info_files.subr          |   248 +
 pkgtools/pkgtasks/files/load.subr                |   114 +
 pkgtools/pkgtasks/files/lock.subr                |   233 +
 pkgtools/pkgtasks/files/makedir.subr             |   134 +
 pkgtools/pkgtasks/files/maketemp.subr            |   201 +
 pkgtools/pkgtasks/files/match.subr               |   114 +
 pkgtools/pkgtasks/files/ocaml_findlib.subr       |   290 +
 pkgtools/pkgtasks/files/permissions.subr         |   244 +
 pkgtools/pkgtasks/files/platform.subr            |    65 +
 pkgtools/pkgtasks/files/postinstall.subr         |   130 +
 pkgtools/pkgtasks/files/postremove.subr          |   137 +
 pkgtools/pkgtasks/files/preinstall.subr          |   104 +
 pkgtools/pkgtasks/files/preremove.subr           |    90 +
 pkgtools/pkgtasks/files/quote.subr               |    74 +
 pkgtools/pkgtasks/files/random.subr              |   151 +
 pkgtools/pkgtasks/files/refcount.subr            |   120 +
 pkgtools/pkgtasks/files/refcount_file.subr       |   502 ++
 pkgtools/pkgtasks/files/say.subr                 |   116 +
 pkgtools/pkgtasks/files/shells.subr              |   292 +
 pkgtools/pkgtasks/files/shlibs.subr              |   179 +
 pkgtools/pkgtasks/files/sort.subr                |    94 +
 pkgtools/pkgtasks/files/t/Kyuafile               |    84 +
 pkgtools/pkgtasks/files/t/build_test.sh          |   134 +
 pkgtools/pkgtasks/files/t/run_tests.sh           |   167 +
 pkgtools/pkgtasks/files/t/t_compare.sh           |   157 +
 pkgtools/pkgtasks/files/t/t_createfile.sh        |    91 +
 pkgtools/pkgtasks/files/t/t_directories.sh       |   386 ++
 pkgtools/pkgtasks/files/t/t_dirwalk.sh           |   144 +
 pkgtools/pkgtasks/files/t/t_echo.sh              |   378 ++
 pkgtools/pkgtasks/files/t/t_files.sh             |   781 ++++
 pkgtools/pkgtasks/files/t/t_fonts.sh             |   347 ++
 pkgtools/pkgtasks/files/t/t_groups.sh            |   193 +
 pkgtools/pkgtasks/files/t/t_info_files.sh        |   411 ++
 pkgtools/pkgtasks/files/t/t_lock.sh              |   120 +
 pkgtools/pkgtasks/files/t/t_makedir.sh           |    70 +
 pkgtools/pkgtasks/files/t/t_maketemp.sh          |   215 +
 pkgtools/pkgtasks/files/t/t_match.sh             |   175 +
 pkgtools/pkgtasks/files/t/t_ocaml_findlib.sh     |   346 ++
 pkgtools/pkgtasks/files/t/t_permissions.sh       |   172 +
 pkgtools/pkgtasks/files/t/t_platform.sh          |    68 +
 pkgtools/pkgtasks/files/t/t_postinstall.sh       |   199 +
 pkgtools/pkgtasks/files/t/t_postremove.sh        |   217 +
 pkgtools/pkgtasks/files/t/t_preinstall.sh        |   117 +
 pkgtools/pkgtasks/files/t/t_preremove.sh         |   105 +
 pkgtools/pkgtasks/files/t/t_quote.sh             |   118 +
 pkgtools/pkgtasks/files/t/t_random.sh            |    61 +
 pkgtools/pkgtasks/files/t/t_refcount.sh          |   397 ++
 pkgtools/pkgtasks/files/t/t_shells.sh            |   339 ++
 pkgtools/pkgtasks/files/t/t_shlibs.sh            |   106 +
 pkgtools/pkgtasks/files/t/t_sort.sh              |   155 +
 pkgtools/pkgtasks/files/t/t_taskfunc.sh          |   173 +
 pkgtools/pkgtasks/files/t/t_tee.sh               |   133 +
 pkgtools/pkgtasks/files/t/t_truthy.sh            |    72 +
 pkgtools/pkgtasks/files/t/t_usergroup.sh         |   194 +
 pkgtools/pkgtasks/files/t/t_usergroup_FreeBSD.sh |    53 +
 pkgtools/pkgtasks/files/t/t_usergroup_Linux.sh   |   102 +
 pkgtools/pkgtasks/files/t/t_usergroup_MirBSD.sh  |   378 ++
 pkgtools/pkgtasks/files/t/t_usergroup_NetBSD.sh  |    51 +
 pkgtools/pkgtasks/files/t/t_usergroup_exists.sh  |   206 +
 pkgtools/pkgtasks/files/t/t_usergroup_mock.sh    |   334 +
 pkgtools/pkgtasks/files/t/t_users.sh             |   194 +
 pkgtools/pkgtasks/files/t/t_valid_options.sh     |    95 +
 pkgtools/pkgtasks/files/t/t_version.sh           |   322 +
 pkgtools/pkgtasks/files/t/t_which.sh             |    96 +
 pkgtools/pkgtasks/files/taskfunc.subr            |   148 +
 pkgtools/pkgtasks/files/tee.subr                 |    81 +
 pkgtools/pkgtasks/files/truthy.subr              |    57 +
 pkgtools/pkgtasks/files/unittest.subr            |   376 ++
 pkgtools/pkgtasks/files/usergroup.subr           |   130 +
 pkgtools/pkgtasks/files/usergroup_FreeBSD.subr   |   116 +
 pkgtools/pkgtasks/files/usergroup_Linux.subr     |   141 +
 pkgtools/pkgtasks/files/usergroup_MirBSD.subr    |   538 +++
 pkgtools/pkgtasks/files/usergroup_NetBSD.subr    |   121 +
 pkgtools/pkgtasks/files/usergroup_exists.subr    |   245 +
 pkgtools/pkgtasks/files/usergroup_mock.subr      |   317 +
 pkgtools/pkgtasks/files/users.subr               |   243 +
 pkgtools/pkgtasks/files/valid_options.subr       |    60 +
 pkgtools/pkgtasks/files/version.subr.in          |   535 +++
 pkgtools/pkgtasks/files/which.subr               |    93 +
 102 files changed, 24267 insertions(+), 1 deletions(-)

diffs (truncated from 24686 to 300 lines):

diff -r f04b1ac9e5c3 -r 55a89f8ab8cc pkgtools/Makefile
--- a/pkgtools/Makefile Wed May 31 23:31:13 2017 +0000
+++ b/pkgtools/Makefile Thu Jun 01 01:58:34 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.117 2017/02/17 21:27:38 jmmv Exp $
+# $NetBSD: Makefile,v 1.118 2017/06/01 01:58:34 jlam Exp $
 #
 
 COMMENT=       Tools for use in the packages collection
@@ -62,6 +62,7 @@
 SUBDIR+=       pkgse
 SUBDIR+=       pkgsrc-todo
 SUBDIR+=       pkgsurvey
+SUBDIR+=       pkgtasks
 SUBDIR+=       plist-utils
 SUBDIR+=       port2pkg
 #SUBDIR+=      prereq-readme   # Only used by the README.html generation
diff -r f04b1ac9e5c3 -r 55a89f8ab8cc pkgtools/pkgtasks/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkgtasks/DESCR   Thu Jun 01 01:58:34 2017 +0000
@@ -0,0 +1,15 @@
+pkgtasks is a shell script library to ease writing POSIX-compliant shell
+scripts to handle common tasks during installation or removal of a
+package, e.g.,
+
+  * creating groups and users needed by the package
+
+  * creating and removing directories with special permissions and
+    ownership,
+
+  * copying example config files to their final locations during package
+    installation, and removing them during package removal if they don't
+    differ from the example ones,
+
+  * reminding the user of files that may be customized after package
+    installation.
diff -r f04b1ac9e5c3 -r 55a89f8ab8cc pkgtools/pkgtasks/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkgtasks/Makefile        Thu Jun 01 01:58:34 2017 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2017/06/01 01:58:34 jlam Exp $
+
+DISTNAME=              pkgtasks-1-1.9
+CATEGORIES=            pkgtools
+MASTER_SITES=          # empty
+DISTFILES=             # empty
+
+MAINTAINER=            jlam%NetBSD.org@localhost
+COMMENT=               Package tasks
+LICENSE=               2-clause-bsd
+
+TEST_TARGET=           check
+USE_LANGUAGES=         # empty
+USE_TOOLS=             sh
+
+GNU_CONFIGURE=         yes
+CONFIGURE_ENV+=                POSIX_SHELL=${TOOLS_SH:Q}
+
+do-extract:
+       @${CP} -R ${FILESDIR} ${WRKSRC}
+
+.include "../../mk/bsd.pkg.mk"
diff -r f04b1ac9e5c3 -r 55a89f8ab8cc pkgtools/pkgtasks/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkgtasks/PLIST   Thu Jun 01 01:58:34 2017 +0000
@@ -0,0 +1,91 @@
+@comment $NetBSD: PLIST,v 1.1 2017/06/01 01:58:34 jlam Exp $
+share/doc/${PKGBASE}/AUTHORS
+share/doc/${PKGBASE}/COPYING
+share/doc/${PKGBASE}/README.md
+share/${PKGBASE}/cleanup.subr
+share/${PKGBASE}/compare.subr
+share/${PKGBASE}/createfile.subr
+share/${PKGBASE}/directories.subr
+share/${PKGBASE}/dirwalk.subr
+share/${PKGBASE}/echo.subr
+share/${PKGBASE}/files.subr
+share/${PKGBASE}/fonts.subr
+share/${PKGBASE}/groups.subr
+share/${PKGBASE}/info_files.subr
+share/${PKGBASE}/load.subr
+share/${PKGBASE}/lock.subr
+share/${PKGBASE}/makedir.subr
+share/${PKGBASE}/maketemp.subr
+share/${PKGBASE}/match.subr
+share/${PKGBASE}/ocaml_findlib.subr
+share/${PKGBASE}/permissions.subr
+share/${PKGBASE}/platform.subr
+share/${PKGBASE}/postinstall.subr
+share/${PKGBASE}/postremove.subr
+share/${PKGBASE}/preinstall.subr
+share/${PKGBASE}/preremove.subr
+share/${PKGBASE}/quote.subr
+share/${PKGBASE}/random.subr
+share/${PKGBASE}/refcount.subr
+share/${PKGBASE}/refcount_file.subr
+share/${PKGBASE}/say.subr
+share/${PKGBASE}/shells.subr
+share/${PKGBASE}/shlibs.subr
+share/${PKGBASE}/sort.subr
+share/${PKGBASE}/taskfunc.subr
+share/${PKGBASE}/tee.subr
+share/${PKGBASE}/truthy.subr
+share/${PKGBASE}/unittest.subr
+share/${PKGBASE}/usergroup.subr
+share/${PKGBASE}/usergroup_FreeBSD.subr
+share/${PKGBASE}/usergroup_Linux.subr
+share/${PKGBASE}/usergroup_MirBSD.subr
+share/${PKGBASE}/usergroup_NetBSD.subr
+share/${PKGBASE}/usergroup_exists.subr
+share/${PKGBASE}/usergroup_mock.subr
+share/${PKGBASE}/users.subr
+share/${PKGBASE}/valid_options.subr
+share/${PKGBASE}/version.subr
+share/${PKGBASE}/which.subr
+tests/${PKGBASE}/Kyuafile
+tests/${PKGBASE}/run_tests
+tests/${PKGBASE}/t_compare
+tests/${PKGBASE}/t_createfile
+tests/${PKGBASE}/t_directories
+tests/${PKGBASE}/t_dirwalk
+tests/${PKGBASE}/t_echo
+tests/${PKGBASE}/t_files
+tests/${PKGBASE}/t_fonts
+tests/${PKGBASE}/t_groups
+tests/${PKGBASE}/t_info_files
+tests/${PKGBASE}/t_lock
+tests/${PKGBASE}/t_makedir
+tests/${PKGBASE}/t_maketemp
+tests/${PKGBASE}/t_match
+tests/${PKGBASE}/t_ocaml_findlib
+tests/${PKGBASE}/t_permissions
+tests/${PKGBASE}/t_platform
+tests/${PKGBASE}/t_postinstall
+tests/${PKGBASE}/t_postremove
+tests/${PKGBASE}/t_preinstall
+tests/${PKGBASE}/t_preremove
+tests/${PKGBASE}/t_quote
+tests/${PKGBASE}/t_random
+tests/${PKGBASE}/t_refcount
+tests/${PKGBASE}/t_shells
+tests/${PKGBASE}/t_shlibs
+tests/${PKGBASE}/t_sort
+tests/${PKGBASE}/t_taskfunc
+tests/${PKGBASE}/t_tee
+tests/${PKGBASE}/t_truthy
+tests/${PKGBASE}/t_usergroup
+tests/${PKGBASE}/t_usergroup_FreeBSD
+tests/${PKGBASE}/t_usergroup_Linux
+tests/${PKGBASE}/t_usergroup_MirBSD
+tests/${PKGBASE}/t_usergroup_NetBSD
+tests/${PKGBASE}/t_usergroup_exists
+tests/${PKGBASE}/t_usergroup_mock
+tests/${PKGBASE}/t_users
+tests/${PKGBASE}/t_valid_options
+tests/${PKGBASE}/t_version
+tests/${PKGBASE}/t_which
diff -r f04b1ac9e5c3 -r 55a89f8ab8cc pkgtools/pkgtasks/files/AUTHORS
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkgtasks/files/AUTHORS   Thu Jun 01 01:58:34 2017 +0000
@@ -0,0 +1,1 @@
+* Johnny C. Lam <jlam%NetBSD.org@localhost>
diff -r f04b1ac9e5c3 -r 55a89f8ab8cc pkgtools/pkgtasks/files/COPYING
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkgtasks/files/COPYING   Thu Jun 01 01:58:34 2017 +0000
@@ -0,0 +1,26 @@
+Copyright (c) 2017 The NetBSD Foundation, Inc.
+All rights reserved.
+
+This code is derived from software contributed to The NetBSD Foundation
+by Johnny C. Lam.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
diff -r f04b1ac9e5c3 -r 55a89f8ab8cc pkgtools/pkgtasks/files/Makefile.am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/pkgtools/pkgtasks/files/Makefile.am       Thu Jun 01 01:58:34 2017 +0000
@@ -0,0 +1,496 @@
+# Copyright (c) 2017 The NetBSD Foundation, Inc.
+# All rights reserved.
+#
+# This code is derived from software contributed to The NetBSD Foundation
+# by Johnny C. Lam.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+
+doc_DATA = AUTHORS COPYING README.md
+noinst_DATA = README.md
+EXTRA_DIST = $(doc_DATA)
+
+PHONY_TARGETS = 
+
+CHMOD = chmod
+MV = mv
+
+# Assume that $source and $target are in the same directory.
+BUILD_FILE = \
+       $(SED)  -e "s,__POSIX_SHELL__,$(POSIX_SHELL),g" \
+               -e "s,__TASK_MODULE_DIR__,$(pkgdatadir),g" \
+               -e "s,__TASK_TESTS_DIR__,$(pkgtestsdir),g" \
+               -e "s,__TASK_VERSION__,$(PACKAGE_VERSION),g" \
+               < "$$source" > "$$target.tmp" && \
+       $(MV) -f "$$target.tmp" "$$target"
+
+BUILD_SCRIPT = $(BUILD_FILE) && $(CHMOD) +x "$$target"
+
+dist_pkgdata_DATA = cleanup.subr
+dist_pkgdata_DATA += compare.subr
+dist_pkgdata_DATA += createfile.subr
+dist_pkgdata_DATA += directories.subr
+dist_pkgdata_DATA += dirwalk.subr
+dist_pkgdata_DATA += echo.subr
+dist_pkgdata_DATA += files.subr
+dist_pkgdata_DATA += fonts.subr
+dist_pkgdata_DATA += groups.subr
+dist_pkgdata_DATA += info_files.subr
+dist_pkgdata_DATA += load.subr
+dist_pkgdata_DATA += lock.subr
+dist_pkgdata_DATA += makedir.subr
+dist_pkgdata_DATA += maketemp.subr
+dist_pkgdata_DATA += match.subr
+dist_pkgdata_DATA += ocaml_findlib.subr
+dist_pkgdata_DATA += permissions.subr
+dist_pkgdata_DATA += platform.subr
+dist_pkgdata_DATA += postinstall.subr
+dist_pkgdata_DATA += postremove.subr
+dist_pkgdata_DATA += preinstall.subr
+dist_pkgdata_DATA += preremove.subr
+dist_pkgdata_DATA += quote.subr
+dist_pkgdata_DATA += random.subr
+dist_pkgdata_DATA += refcount.subr
+dist_pkgdata_DATA += refcount_file.subr
+dist_pkgdata_DATA += say.subr
+dist_pkgdata_DATA += shells.subr
+dist_pkgdata_DATA += shlibs.subr
+dist_pkgdata_DATA += sort.subr
+dist_pkgdata_DATA += taskfunc.subr
+dist_pkgdata_DATA += tee.subr
+dist_pkgdata_DATA += truthy.subr
+dist_pkgdata_DATA += unittest.subr
+dist_pkgdata_DATA += usergroup.subr
+dist_pkgdata_DATA += usergroup_FreeBSD.subr
+dist_pkgdata_DATA += usergroup_Linux.subr
+dist_pkgdata_DATA += usergroup_MirBSD.subr
+dist_pkgdata_DATA += usergroup_NetBSD.subr
+dist_pkgdata_DATA += usergroup_exists.subr
+dist_pkgdata_DATA += usergroup_mock.subr
+dist_pkgdata_DATA += users.subr
+dist_pkgdata_DATA += valid_options.subr
+dist_pkgdata_DATA += which.subr
+
+pkgdata_DATA = version.subr
+CLEANFILES = version.subr
+EXTRA_DIST += version.subr.in
+version.subr: version.subr.in
+       -$(MKDIR_P) $(builddir)
+       $(AM_V_GEN)target="$(builddir)/version.subr" source="$(srcdir)/version.subr.in"; \
+       $(BUILD_FILE)
+
+# Build a test script.
+BUILD_TEST = \
+       TASK_MODULE_DIR="$(top_srcdir)" TASK_TESTS_DIR="$(top_srcdir)/t" \
+       $(builddir)/t/build_test -o "$$target" "$$source"



Home | Main Index | Thread Index | Old Index