Revision: 2584 http://geany.svn.sourceforge.net/geany/?rev=2584&view=rev Author: eht16 Date: 2008-05-14 09:13:16 -0700 (Wed, 14 May 2008)
Log Message: ----------- Add shebang detection for Makefiles.
Modified Paths: -------------- trunk/ChangeLog trunk/src/filetypes.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-05-14 15:58:03 UTC (rev 2583) +++ trunk/ChangeLog 2008-05-14 16:13:16 UTC (rev 2584) @@ -18,6 +18,8 @@ * src/templates.c: Remove unnecessary case statement for PHP files, can be handled by the default case. + * src/filetypes.c: + Add shebang detection for Makefiles.
2008-05-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/filetypes.c =================================================================== --- trunk/src/filetypes.c 2008-05-14 15:58:03 UTC (rev 2583) +++ trunk/src/filetypes.c 2008-05-14 16:13:16 UTC (rev 2584) @@ -597,6 +597,8 @@ ft = filetypes[GEANY_FILETYPES_RUBY]; else if (strncmp(basename_interpreter, "tcl", 3) == 0) ft = filetypes[GEANY_FILETYPES_TCL]; + else if (strncmp(basename_interpreter, "make", 4) == 0) + ft = filetypes[GEANY_FILETYPES_MAKE]; else if (strncmp(basename_interpreter, "zsh", 3) == 0) ft = filetypes[GEANY_FILETYPES_SH]; else if (strncmp(basename_interpreter, "ksh", 3) == 0)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.