From 4bd6db9df127f74a0fd957ddbda4743a9c22e053 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Tue, 13 Dec 2005 14:44:17 +0000 Subject: Update the make.1 man page. Use rm -f instead of rm in the test scripts. Fixes bug #15085. --- tests/scripts/targets/PHONY | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'tests/scripts/targets/PHONY') diff --git a/tests/scripts/targets/PHONY b/tests/scripts/targets/PHONY index dd46b3f..c8e2110 100644 --- a/tests/scripts/targets/PHONY +++ b/tests/scripts/targets/PHONY @@ -1,3 +1,5 @@ +# -*-perl-*- + $description = "The following tests the use of a PHONY target. It makes\n" ."sure that the rules under a target get executed even if\n" ."a filename of the same name of the target exists in the\n" @@ -8,15 +10,6 @@ $details = "This makefile in this test declares the target clean to be a \n" ."directory. Although this file exists, the rule under the target\n" ."clean should still execute because of it's phony status."; -if ($vos) -{ - $delete_command = "delete_file"; -} -else -{ - $delete_command = "rm"; -} - $example = "EXAMPLE_FILE"; open(MAKEFILE,"> $makefile"); -- cgit v1.2.3