From 3daf8df6ee835b9edcc068af33ae97910bb8d934 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 8 Apr 2005 12:51:20 +0000 Subject: Fix some Savannah bugs. Updates to docs (still need more work here) and NEWS file. New language. --- tests/scripts/targets/SECONDARY | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/scripts/targets/SECONDARY') diff --git a/tests/scripts/targets/SECONDARY b/tests/scripts/targets/SECONDARY index a6c5dab..cf580b5 100644 --- a/tests/scripts/targets/SECONDARY +++ b/tests/scripts/targets/SECONDARY @@ -108,5 +108,18 @@ $answer = "$make_name: `final' is up to date.\n"; unlink('source', 'final', 'intermediate'); + +# TEST #8 -- test the "global" .SECONDARY, with .PHONY. + +touch('version2'); +run_make_test(' +.PHONY: version +.SECONDARY: +version2: version ; @echo GOOD +all: version2', + 'all', 'GOOD'); + +unlink('version2'); + # This tells the test driver that the perl test script executed properly. 1; -- cgit v1.2.3