lib/rouge/lexers/make.rb in rouge-0.2.15 vs lib/rouge/lexers/make.rb in rouge-0.3.0
- old
+ new
@@ -6,10 +6,10 @@
aliases 'makefile', 'mf', 'gnumake', 'bsdmake'
filenames '*.make', 'Makefile', 'makefile', 'Makefile.*', 'GNUmakefile'
mimetypes 'text/x-makefile'
def self.analyze_text(text)
- return 0.2 if text =~ /^\.PHONY:/
+ return 0.6 if text =~ /^\.PHONY:/
end
bsd_special = %w(
include undef error warning if else elif endif for endfor
)