Bug 9738

Summary: Please detect Makefiles using shebang
Product: shared-mime-info Reporter: Loïc Minier <lool>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Use shebang to detect Makefiles

Description Loïc Minier 2007-01-22 13:35:31 UTC
Hi,

Please detect Makefiles with the shebang line and not only via the filename;
this would cover all makefile names (GNUMakefile, Makefile, makefile, *.mk etc.)
and anything being meant to be run as a Makefile; this is particularly used in
Debian for all Debian packages (debian/rules is a Makefile with a shebang).

Will attach a patch.

Bye,
Comment 1 Loïc Minier 2007-01-22 13:35:49 UTC
Created attachment 8479 [details] [review]
Use shebang to detect Makefiles
Comment 2 Bastien Nocera 2007-02-02 04:57:27 UTC
2007-02-02  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Patch from Loïc Minier
        <lool+freedesktop@via.ecp.fr> to recognise Makefiles
        with shebang magic as well as name (Closes: #9738)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.