A NOTE has been added to this issue. ====================================================================== https://www.austingroupbugs.net/view.php?id=513 ====================================================================== Reported By: dwheeler Assigned To: ajosey ====================================================================== Project: 1003.1(2008)/Issue 7 Issue ID: 513 Category: Shell and Utilities Type: Enhancement Request Severity: Objection Priority: normal Status: Under Review Name: David A. Wheeler Organization: User Reference: Section: make Page Number: 2916 Line Number: 95850 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2011-11-17 00:02 UTC Last Modified: 2020-12-03 17:19 UTC ====================================================================== Summary: Add pattern rules (metarules) to make ======================================================================
---------------------------------------------------------------------- (0005156) psmith (developer) - 2020-12-03 17:19 https://www.austingroupbugs.net/view.php?id=513#c5156 ---------------------------------------------------------------------- Re: Note: 0005152 Introducing shortest-stem patterns was unlikely to break makefiles that worked previously, in a practical sense. If a makefile using the first-match behavior had a shorter-stem pattern that appeared first then the behavior didn't change. If it had a shorter-stem pattern that appeared after a longer-stem pattern then the shorter-stem pattern would not be seen because the longer-stem pattern matched first. So, the only way this change could have impacted makefiles would be if had an unused shorter-stem pattern in their makefiles somewhere, which suddenly started working. Changing back, however, would break a large number of existing environments. > You would need to revert it, at least in case that .POSIX is present. No. Any standardization of pattern rules will need to be worded in a way that doesn't require this. Re: Note: 0005153 I see the distinction you're trying to make here. You are talking about rule ordering. When I say "replace" I was just talking about which set of commands will be used to build the target. Yes, it's true, if you want to be more specific what GNU make really does is remove the first instance of that pattern rule and add a new instance of the pattern rule, so the order of rule search may be different after the redefinition. Issue History Date Modified Username Field Change ====================================================================== 2011-11-17 00:02 dwheeler New Issue 2011-11-17 00:02 dwheeler Status New => Under Review 2011-11-17 00:02 dwheeler Assigned To => ajosey 2011-11-17 00:02 dwheeler Name => David A. Wheeler 2011-11-17 00:02 dwheeler Section => make 2011-11-17 00:02 dwheeler Page Number => 2916 2011-11-17 00:02 dwheeler Line Number => 95850 2011-11-17 10:32 joerg Note Added: 0001023 2011-11-17 16:06 Konrad_Schwarz Note Added: 0001029 2011-11-17 16:07 Konrad_Schwarz Note Edited: 0001029 2011-11-17 16:47 joerg Note Added: 0001032 2011-11-17 17:08 dwheeler Note Added: 0001033 2011-11-17 17:26 joerg Note Added: 0001034 2011-11-17 18:27 psmith Note Added: 0001035 2011-11-17 18:29 dwheeler Note Added: 0001036 2011-11-17 22:11 dwheeler Note Added: 0001037 2011-11-18 10:46 joerg Note Added: 0001038 2011-11-18 11:00 joerg Note Added: 0001039 2011-11-18 13:37 psmith Note Added: 0001040 2011-11-18 14:17 joerg Note Added: 0001041 2011-11-18 18:05 psmith Note Added: 0001042 2020-12-01 17:34 joerg Note Added: 0005126 2020-12-01 17:35 joerg Note Edited: 0005126 2020-12-01 17:36 joerg Note Edited: 0005126 2020-12-01 18:28 psmith Note Added: 0005127 2020-12-01 18:40 psmith Note Added: 0005128 2020-12-01 18:54 psmith Note Added: 0005130 2020-12-01 20:46 shware_systems Note Added: 0005131 2020-12-01 21:17 psmith Note Added: 0005132 2020-12-01 21:26 shware_systems Note Added: 0005133 2020-12-01 21:48 psmith Note Added: 0005134 2020-12-01 22:48 shware_systems Note Added: 0005135 2020-12-02 01:03 psmith Note Added: 0005136 2020-12-02 17:39 joerg Note Added: 0005138 2020-12-02 18:00 psmith Note Added: 0005139 2020-12-02 18:00 psmith Note Added: 0005140 2020-12-02 18:00 psmith Note Deleted: 0005140 2020-12-02 18:03 joerg Note Added: 0005141 2020-12-02 18:19 psmith Note Added: 0005142 2020-12-02 18:22 joerg Note Added: 0005143 2020-12-02 18:27 joerg Note Added: 0005144 2020-12-02 18:34 joerg Note Added: 0005145 2020-12-02 19:18 psmith Note Added: 0005146 2020-12-02 19:19 Don Cragun Note Edited: 0005142 2020-12-02 19:21 Don Cragun Note Edited: 0005146 2020-12-02 19:22 Don Cragun Note Edited: 0005131 2020-12-02 19:24 psmith Note Added: 0005147 2020-12-02 19:31 Don Cragun Note Edited: 0005147 2020-12-03 15:28 joerg Note Added: 0005152 2020-12-03 15:30 joerg Note Added: 0005153 2020-12-03 16:59 kre Note Added: 0005154 2020-12-03 17:08 kre Note Added: 0005155 2020-12-03 17:19 psmith Note Added: 0005156 ======================================================================
