summaryrefslogtreecommitdiff
path: root/tests/scripts/targets/PHONY
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-12-13 14:44:17 +0000
committerPaul Smith <psmith@gnu.org>2005-12-13 14:44:17 +0000
commit4bd6db9df127f74a0fd957ddbda4743a9c22e053 (patch)
tree2ec15ebc521d725780732ffab329d7a154e742d9 /tests/scripts/targets/PHONY
parent3bcb608bdab1d3d24251548aac8bc33fc2fdad66 (diff)
downloadgunmake-4bd6db9df127f74a0fd957ddbda4743a9c22e053.tar.gz
Update the make.1 man page.
Use rm -f instead of rm in the test scripts. Fixes bug #15085.
Diffstat (limited to 'tests/scripts/targets/PHONY')
-rw-r--r--tests/scripts/targets/PHONY11
1 files changed, 2 insertions, 9 deletions
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");