summaryrefslogtreecommitdiff
path: root/magic/Magdir/make
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2018-05-29 17:26:02 +0000
committerChristos Zoulas <christos@zoulas.com>2018-05-29 17:26:02 +0000
commit009e8f6f16a1b457a33bb4867607a6c7513f8636 (patch)
tree39fc1078cfc86f81afc99f59086724a62a503860 /magic/Magdir/make
parent81c176e8517c983a14496f95af8f20aec2d195a7 (diff)
downloadfile-git-009e8f6f16a1b457a33bb4867607a6c7513f8636.tar.gz
bump strength to beat troff, and add .endif
Diffstat (limited to 'magic/Magdir/make')
-rw-r--r--magic/Magdir/make13
1 files changed, 10 insertions, 3 deletions
diff --git a/magic/Magdir/make b/magic/Magdir/make
index 131c23a4..f522b4f1 100644
--- a/magic/Magdir/make
+++ b/magic/Magdir/make
@@ -1,5 +1,5 @@
#------------------------------------------------------------------------------
-# $File: make,v 1.2 2015/08/25 07:34:06 christos Exp $
+# $File: make,v 1.4 2018/05/29 17:26:02 christos Exp $
# make: file(1) magic for makefiles
#
# URL: https://en.wikipedia.org/wiki/Make_(software)
@@ -17,13 +17,20 @@
# Reference: https://www.freebsd.org/cgi/man.cgi?make(1)
# exclude grub-core\lib\libgcrypt\mpi\Makefile.am with "#BEGIN_ASM_LIST"
# by additional escaping point character
-0 regex/100l \^\\.BEGIN BSD makefile script text with "%s"
+0 regex/100l \^\\.BEGIN BSD makefile script text
!:mime text/x-makefile
!:ext /mk
+!:strength +10
# exclude MS Windows help file CoNtenT with ":include FOOBAR.CNT"
# and NSIS script with "!include" by additional escaping point character
-0 regex/100l \^\\.include BSD makefile script text with "%s"
+0 regex/100l \^\\.include BSD makefile script text
!:mime text/x-makefile
!:ext /mk
+!:strength +10
+0 regex/100l \^\\.endif BSD makefile script text
+!:mime text/x-makefile
+!:ext /mk
+!:strength +10
0 regex/100l \^SUBDIRS automake makefile script text
!:mime text/x-makefile
+!:strength +10