[bug #57751] Improve POSIX support for SCCS

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug #57751] Improve POSIX support for SCCS

Paul D. Smith
URL:
  <https://savannah.gnu.org/bugs/?57751>

                 Summary: Improve POSIX support for SCCS
                 Project: make
            Submitted by: love4boobies
            Submitted on: Thu 06 Feb 2020 09:10:00 AM UTC
                Severity: 3 - Normal
              Item Group: Enhancement
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: None
        Operating System: None
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

According to POSIX, makefiles should be able to replace the special rule
.SCCS_GET in order to specify how to get SCCS files that do not exist in the
current directory. The default is:

.SCCS_GET: sccs $(SCCSFLAGS) get $(SCCSGETFLAGS) $@

Also, suffixes such as ".foo~" (meaning ".foo" files prefixed by a "s.") do
not seem to be supported. I am aware that these can be done in other ways with
GNU Make, but for portability's sake, they should be there.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57751>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply | Threaded
Open this post in threaded view
|

[bug #57751] Improve POSIX support for SCCS

Paul D. Smith
Follow-up Comment #4, bug #57751 (project make):

Ugh, paperwork? Is this something that has to be done everytime people send
patches? I mean it's literally just a couple of small additions:

1. If foo is a dependecy and SCCS/s.foo exists, then make issues the commands
specified in .SCCS_GET, whose default is this:

.SCCS_GET: sccs $(SCCSFLAGS) get $(SCCSGETFLAGS) $@

but makefiles can provide their own .SCCS_GET instead.

2. A syntax for suffixes like .c~ which really means s.%.c.

If you don't have time to do it can't I just release the patches into public
domain and have you incorporate them or something so I don't have to sign
papers and send them to other countries? Sounds like a hassle, unless there's
some simple procedure in place that I can waste a few minutes on online.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57751>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/