bugmake - Bugs: bug #27545, Patch to add Makefile.mak to...

 
 

bug #27545: Patch to add Makefile.mak to default file names searched

Submitted by:  J <now3d>
Submitted on:  Sun 27 Sep 2009 10:36:55 PM UTC  
 
Severity: 1 - WishItem Group: Enhancement
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: 3.82Operating System: Any
Fixed Release: NoneTriage Status: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 04 Oct 2009 12:40:21 PM UTC, comment #2:

Boris. You make a good point about not processing NMAKE files. However lots of "make" tools like Borland I believe also check for "Makefile.mak".

The main point of this bug ticket is to have an extension (filetype) on the filename, so editors can be easily set up to open the files; the ".mak" extension.

My revised patch instead adds "GNUMakefile.mak" too the filename list. What do you think about this proposal?

Attachment attached.

(file #18812)

J <now3d>
Mon 28 Sep 2009 07:42:21 AM UTC, comment #1:

If you refer to Microsoft nmake, then you probably know that nmake and GNU make have very different and incompatible makefile syntax. Making GNU make automatically trying to process nmake makefiles doesn't sound like a good idea since it will fail for most non-trivial ones.

Boris Kolpackov <bosk>
Project Member
Sun 27 Sep 2009 10:36:55 PM UTC, original submission:

Makefile.mak files are very common, and supported by other "make" varieties such as NMAKE. Therefore I created this patch for GNU Make to also search for "Makefile.mak"

On MS Windows it is very useful for a file to have a file extension, then it can be clicked on to open, as it is associated with a text editor. When there is no extension it's necessary to manually open it, which slows things down when this is your main task!

Jon

read.c patch attached.

I've posted this before as an email, no reply though then.
http://www.mail-archive.com/bug-make@gnu.org/msg04763.html

J <now3d>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #18812:  GNUMakefile_mak_read_c.patch added by now3d (410B - text/x-patch)
file #18788:  makefile_mak_read_c.patch added by now3d (422B - text/x-patch - read.c patch to add Makefile.mak to list of files scanned.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Updated the item)
  • -unavailable- added by bosk (Posted a comment)
  • -unavailable- added by now3d (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 09 Oct 2013 05:05:45 AM UTCpsmithComponent Version4.0=>3.82
    Sun 04 Oct 2009 12:40:21 PM UTCnow3dAttached File-=>Added GNUMakefile_mak_read_c.patch, #18812
    Mon 28 Sep 2009 07:42:21 AM UTCboskItem GroupNone=>Enhancement
      Severity3 - Normal=>1 - Wish
    Sun 27 Sep 2009 10:36:55 PM UTCnow3dAttached File-=>Added makefile_mak_read_c.patch, #18788

    Back to the top


    Powered by Savane 3.1-cleanup