A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1325 ====================================================================== Reported By: dmitry_goncharov Assigned To: ====================================================================== Project: Issue 8 drafts Issue ID: 1325 Category: Shell and Utilities Type: Clarification Requested Severity: Editorial Priority: normal Status: Under Review Name: Dmitry Goncharov Organization: User Reference: Section: (section number or name, can be interface name) Page Number: (page or range of pages) Line Number: (Line or range of lines) Final Accepted Text: https://austingroupbugs.net/view.php?id=1325#c5066 ====================================================================== Date Submitted: 2020-02-09 17:17 UTC Last Modified: 2020-10-27 15:24 UTC ====================================================================== Summary: Allow make to remake an included file ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- parent of 0001415 The text added as a result of Issue #13... ======================================================================
---------------------------------------------------------------------- (0005074) joerg (reporter) - 2020-10-27 15:24 https://austingroupbugs.net/view.php?id=1325#c5074 ---------------------------------------------------------------------- The include directive has been introduced by SunPro Make in January 1986 together with other features like conditional macro assignments, pattern macro substitutions and pattern matching implicit rules. The behavior of SunPro Make did not change since then and is consistent. gmake first appeared three years later and copied many of the new SunPro Make features. People would assume that this has been done in a compatible way. The current behavior of gmake is not self consistent and even changed compared to previous gmake versions. The current POSIX text does not break anything that was not broken before by incompatible changes in gmake already. You did not mention a single project that would no longer work if you did make gmake compatible to the include implementation in SunPro Make and smake. I am not aware of a single gmake based project that fails with SunPro Make just beause of the ideosyncratic implementation for the include feature in gmake. The makefiles designed for gmake typically fail because they are using non-standad features like "if" and a Makefile that contains .POSIX and "if" at the same time is definitely non-compliant. In other words: it seem to be your problem, if you or your customers missuse .POSIX for purposes other than 100% POSIX compliance. Since SunPro Make is POSIX certified (via Solaris), I expect that conforming Makefiles that contain a .POSIX line work with SunPro Make. If they do not, they are not fully conforming and beyond the scope of this discussion. Useful make implementations call "sh -ce cmd" since 1976 and never changed that. If you really like to permit people to use different shell flags, you could implement the method from smake that is based on MAKE_SHELL_FLAG and MAKE_SHELL_IFLAG. Issue History Date Modified Username Field Change ====================================================================== 2020-02-09 17:17 dmitry_goncharovNew Issue 2020-02-09 17:17 dmitry_goncharovName => Dmitry Goncharov 2020-02-09 17:17 dmitry_goncharovSection => (section number or name, can be interface name) 2020-02-09 18:29 shware_systems Note Added: 0004780 2020-02-10 13:27 joerg Note Added: 0004781 2020-02-10 13:28 joerg Note Edited: 0004781 2020-10-26 15:52 geoffclare Project Online Pubs => Issue 8 drafts 2020-10-26 15:53 geoffclare Note Added: 0005066 2020-10-26 15:54 geoffclare Page Number => (page or range of pages) 2020-10-26 15:54 geoffclare Line Number => (Line or range of lines) 2020-10-26 15:54 geoffclare Final Accepted Text => https://austingroupbugs.net/view.php?id=1325#c5066 2020-10-26 15:54 geoffclare Status New => Resolved 2020-10-26 15:54 geoffclare Resolution Open => Accepted As Marked 2020-10-26 15:54 geoffclare version => Draft 1 2020-10-26 15:54 geoffclare Tag Attached: issue8 2020-10-26 16:54 nick Relationship added parent of 0001415 2020-10-26 16:57 rhansen Note Added: 0005068 2020-10-26 16:58 rhansen Note Edited: 0005068 2020-10-26 17:00 rhansen Note Edited: 0005068 2020-10-26 17:08 nick Note Added: 0005069 2020-10-26 17:08 nick Resolution Accepted As Marked => Reopened 2020-10-26 22:34 nick Status Resolved => Under Review 2020-10-27 10:09 geoffclare Note Added: 0005070 2020-10-27 13:09 joerg Note Added: 0005071 2020-10-27 13:10 joerg Note Edited: 0005071 2020-10-27 14:04 psmith Note Added: 0005072 2020-10-27 14:36 psmith Note Added: 0005073 2020-10-27 15:24 joerg Note Added: 0005074 ======================================================================