]> granicus.if.org Git - file/commitdiff
Escape the . and provide more text for BSD make (Joerg Jenderek)
authorChristos Zoulas <christos@zoulas.com>
Sat, 10 Dec 2016 14:21:29 +0000 (14:21 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 10 Dec 2016 14:21:29 +0000 (14:21 +0000)
magic/Magdir/make

index f8509d6bdbcfcb7aa045c5adef4f43d7a868b93e..2895325a6e627e368a31d1d4d72148119ac9bc7c 100644 (file)
@@ -1,7 +1,8 @@
 #------------------------------------------------------------------------------
-# $File: make,v 1.2 2015/08/25 07:34:06 christos Exp $
+# $File: make,v 1.3 2016/12/10 14:21:29 christos Exp $
 # make:  file(1) magic for makefiles
 #
+# URL: https://en.wikipedia.org/wiki/Make_(software)
 0      regex/100l      \^CFLAGS        makefile script text
 !:mime text/x-makefile
 0      regex/100l      \^VPATH         makefile script text
 !:mime text/x-makefile
 0      regex/100l      \^all:          makefile script text
 !:mime text/x-makefile
-0      regex/100l      \^\.PRECIOUS    makefile script text
+0      regex/100l      \^\\.PRECIOUS   makefile script text
 !:mime text/x-makefile
-0      regex/100l      \^\.BEGIN       BSD makefile script text
+# Update: Joerg Jenderek
+# 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"
 !:mime text/x-makefile
-0      regex/100l      \^\.include     BSD makefile script text
+!:ext  /mk
+# 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"
 !:mime text/x-makefile
-
+!:ext  /mk
 0      regex/100l      \^SUBDIRS       automake makefile script text
 !:mime text/x-makefile