From 6d908a38e05b9d4135c65d23114a5874215b5bb8 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 11 Dec 2010 19:15:23 +0100 Subject: Engagement initial. --- make/make-3.81/tests/scripts/options/dash-I | 59 +++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 make/make-3.81/tests/scripts/options/dash-I (limited to 'make/make-3.81/tests/scripts/options/dash-I') diff --git a/make/make-3.81/tests/scripts/options/dash-I b/make/make-3.81/tests/scripts/options/dash-I new file mode 100644 index 0000000..8dc5d9b --- /dev/null +++ b/make/make-3.81/tests/scripts/options/dash-I @@ -0,0 +1,59 @@ +# -*-perl-*- + +$description ="The following test creates a makefile to test the -I option."; + +$details = "\ +This test tests the -I option by including a filename in +another directory and giving make that directory name +under -I in the command line. Without this option, the make +would fail to find the included file. It also checks to make +sure that the -I option gets passed to recursive makes."; + +$makefile2 = &get_tmpfile; + +open(MAKEFILE,"> $makefile"); + +# The Contents of the MAKEFILE ... + +$mf2 = substr ($makefile2, index ($makefile2, $pathsep) + 1); +print MAKEFILE < $makefile2"); + +print MAKEFILE <