[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #18622] regression cannot turn off implicit rules for %.c and %.tex
From: |
anonymous |
Subject: |
[bug #18622] regression cannot turn off implicit rules for %.c and %.tex in 3.81 |
Date: |
Thu, 28 Dec 2006 22:26:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1 |
URL:
<http://savannah.gnu.org/bugs/?18622>
Summary: regression cannot turn off implicit rules for %.c
and %.tex in 3.81
Project: make
Submitted by: None
Submitted on: Thursday 12/28/2006 at 22:26 UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.81
Operating System: Any
Fixed Release: None
_______________________________________________________
Details:
makefile
--start--
all: fred
fred: foo
foo:
touch fred
#goal to get equivalent of gmake --no-builtin-rules functionality
.SUFFIXES:
#shutoff implicit rules
(%): %
%.out: %
%:: %,v
%:: RCS/%,v
%:: RCS/%
%:: s.%
%:: SCCS/s.%
%.c: %.w %.ch
%.tex: %.w %.ch
--end makefile--
repro steps:
gmake -p -f makefile.9 > file
in verbose output find section (about line 862)
that starts with # Implicit rules
defect is that the implicit rules for CTANGLE and CWEAVE are not disabled
using gmake 3.81
output from gmake 3.81
...
# Implicit Rules
(%): %
%.out: %
%:: %,v
%:: RCS/%,v
%:: RCS/%
%:: s.%
%:: SCCS/s.%
%.c: %.w %.ch
%.tex: %.w %.ch
%.c: %.w %.ch
# commands to execute (built-in):
$(CTANGLE) $^ $@
%.tex: %.w %.ch
# commands to execute (built-in):
$(CWEAVE) $^ $@
# 11 implicit rules, 5 (45.5%) terminal.
--end output --
correct out from gmake 3.80
...
# Implicit Rules
(%): %
%.out: %
%:: %,v
%:: RCS/%,v
%:: RCS/%
%:: s.%
%:: SCCS/s.%
%.c: %.w %.ch
%.tex: %.w %.ch
# 9 implicit rules, 5 (55.6%) terminal.
--end 3.80 output--
gmake -v output
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-unknown-linux-gnu
for additional information contact address@hidden
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thursday 12/28/2006 at 22:26 UTC Name: makefile.9 Size: 241B By:
None
makefile.9 is attached
<http://savannah.gnu.org/bugs/download.php?file_id=11619>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?18622>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #18622] regression cannot turn off implicit rules for %.c and %.tex in 3.81,
anonymous <=