Separate out Makefile from text/plain to a specific subtype
<glob pattern="*.htm"/>
</mime-type>
+ <mime-type type="text/x-makefile">
+ <_comment>Makefile build file</_comment>
+ <magic priority="20">
+ <!-- Only magic for default autoconf/automake produced ones -->
+ <match value="# Makefile.in generated by" type="string" offset="0"/>
+ <!-- Not exhaustive, and most people don't set this! -->
+ <match value="#!make" type="string" offset="0"/>
+ <match value="#!/usr/bin/make" type="string" offset="0"/>
+ <match value="#!/usr/local/bin/make" type="string" offset="0"/>
+ <match value="#!/usr/bin/env make" type="string" offset="0"/>
+ </magic>
+ <glob pattern="Makefile"/>
+ <glob pattern="GNUMakefile"/>
+ <sub-class-of type="text/plain"/>
+ </mime-type>
+
<mime-type type="text/parityfec"/>
<mime-type type="text/plain">
<!-- TIKA-85: http://www.apache.org/dev/svn-eol-style.txt -->
<glob pattern="INSTALL"/>
<glob pattern="KEYS"/>
- <glob pattern="Makefile"/>
<glob pattern="README"/>
<glob pattern="abs-linkmap"/>
<glob pattern="abs-menulinks"/>
