Bug 9738 - Please detect Makefiles using shebang
Summary: Please detect Makefiles using shebang
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-22 13:35 UTC by Loïc Minier
Modified: 2007-02-02 04:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Use shebang to detect Makefiles (666 bytes, patch)
2007-01-22 13:35 UTC, Loïc Minier
Details | Splinter Review

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.