forked from qt-creator/qt-creator
Autotools: Re-add Makefile.* as patterns for x-makefile
Re-add the globs that went missing in the transition to Tika, so the Autotools project manager plugin can still open Makefile.am files. Change-Id: Ibd43eccf694efa276a1fff8bb0b77e6f68fc609b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -24,5 +24,29 @@
|
||||
],
|
||||
"Url" : "https://www.qt.io",
|
||||
"DocumentationUrl" : "https://doc.qt.io/qtcreator/creator-projects-autotools.html",
|
||||
${IDE_PLUGIN_DEPENDENCIES}
|
||||
${IDE_PLUGIN_DEPENDENCIES},
|
||||
|
||||
"Mimetypes" : [
|
||||
"<?xml version='1.0' encoding='UTF-8'?>",
|
||||
"<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>",
|
||||
" <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'/>",
|
||||
" <glob pattern='*.mk'/>",
|
||||
" <glob pattern='*.mak'/>",
|
||||
" <glob weight='10' pattern='Makefile.*'/>",
|
||||
" <sub-class-of type='text/plain'/>",
|
||||
" </mime-type>",
|
||||
"</mime-info>"
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user