summaryrefslogtreecommitdiff
path: root/tests/scripts
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2002-10-03 05:46:12 +0000
committerPaul Smith <psmith@gnu.org>2002-10-03 05:46:12 +0000
commit1d3dfeb74b47803559e0b5eaa886ebb1ad9e3e3f (patch)
tree9c40a15df8374f96422ce8af83228429e4746d20 /tests/scripts
parent2de1b621128ed0a4845cbfd71cf7145c508579a3 (diff)
downloadgunmake-1d3dfeb74b47803559e0b5eaa886ebb1ad9e3e3f.tar.gz
Some updates for automake 1.7 and prep for releasing 3.80.
Diffstat (limited to 'tests/scripts')
-rw-r--r--tests/scripts/functions/wildcard24
1 files changed, 13 insertions, 11 deletions
diff --git a/tests/scripts/functions/wildcard b/tests/scripts/functions/wildcard
index d21747f..0f79acc 100644
--- a/tests/scripts/functions/wildcard
+++ b/tests/scripts/functions/wildcard
@@ -1,16 +1,17 @@
# -*-perl-*-
-$description = "The following test creates a makefile to test wildcard\n"
- ."expansions and the ability to put a command on the same\n"
- ."line as the target name separated by a semi-colon.";
-
-$details = "This test creates 4 files by the names of 1.example, \n"
- ."two.example and 3.example. We execute three tests. The first\n"
- ."executes the print1 target which tests the '*' wildcard by \n"
- ."echoing all filenames by the name of '*.example'. The second\n"
- ."test echo's all files which match '?.example' and \n"
- ."[a-z0-9].example. Lastly we clean up all of the files using\n"
- ."the '*' wildcard as in the first test";
+$description = "The following test creates a makefile to test wildcard
+expansions and the ability to put a command on the same
+line as the target name separated by a semi-colon.";
+
+$details = "\
+This test creates 4 files by the names of 1.example,
+two.example and 3.example. We execute three tests. The first
+executes the print1 target which tests the '*' wildcard by
+echoing all filenames by the name of '*.example'. The second
+test echo's all files which match '?.example' and
+[a-z0-9].example. Lastly we clean up all of the files using
+the '*' wildcard as in the first test";
if ($vos)
{
@@ -27,6 +28,7 @@ open(MAKEFILE,"> $makefile");
# The Contents of the MAKEFILE ...
print MAKEFILE <<EOM;
+.PHONY: print1 print2 clean
print1: ;\@echo \$(wildcard example.*)
print2:
\t\@echo \$(wildcard example.?)