From 196afc75a68b7e6557b56d7cc22c37a80c09ccf7 Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Sat, 1 Feb 2014 11:34:30 +0100 Subject: Test variable conveyance to a sub-Make. --- testsuite/sources/library_1/subdir/helper/Makefile | 19 +++++++++++++++++++ testsuite/sources/library_1/subdir/helper/script | 3 +++ 2 files changed, 22 insertions(+) create mode 100644 testsuite/sources/library_1/subdir/helper/Makefile create mode 100755 testsuite/sources/library_1/subdir/helper/script (limited to 'testsuite/sources/library_1/subdir/helper') diff --git a/testsuite/sources/library_1/subdir/helper/Makefile b/testsuite/sources/library_1/subdir/helper/Makefile new file mode 100644 index 0000000..71d0399 --- /dev/null +++ b/testsuite/sources/library_1/subdir/helper/Makefile @@ -0,0 +1,19 @@ +# part of Comfignat's testsuite +# Copyright 2014 B. Persson, Bjorn@Rombobeorn.se +# +# This material is provided as is, with absolutely no warranty expressed +# or implied. Any use is at your own risk. +# +# Permission is hereby granted to use or copy this testsuite +# for any purpose, provided the above notices are retained on all copies. +# Permission to modify the code and to distribute modified code is granted, +# provided the above notices are retained, and a notice that the code was +# modified is included with the above copyright notice. + + +include comfignat.mk + +build: ${stage_libexecdir}/testcase/script + +${stage_libexecdir}/testcase/script: script | ${stage_libexecdir}/testcase/ + cp -p $< $@ diff --git a/testsuite/sources/library_1/subdir/helper/script b/testsuite/sources/library_1/subdir/helper/script new file mode 100755 index 0000000..f013b39 --- /dev/null +++ b/testsuite/sources/library_1/subdir/helper/script @@ -0,0 +1,3 @@ +#!/bin/bash + +echo "Hi ho!" -- cgit v1.2.3 From 16639abaf4bc45b92d6ac70e25d457412c1a11bb Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Sun, 2 Feb 2014 07:53:36 +0100 Subject: Fixed inclusion. --- testsuite/sources/library_1/subdir/helper/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/sources/library_1/subdir/helper') diff --git a/testsuite/sources/library_1/subdir/helper/Makefile b/testsuite/sources/library_1/subdir/helper/Makefile index 71d0399..f9ec257 100644 --- a/testsuite/sources/library_1/subdir/helper/Makefile +++ b/testsuite/sources/library_1/subdir/helper/Makefile @@ -11,7 +11,7 @@ # modified is included with the above copyright notice. -include comfignat.mk +include ../../comfignat.mk build: ${stage_libexecdir}/testcase/script -- cgit v1.2.3