mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add "mkfile" as a recognised Makefile name (#2938)
* Add ".mkfile" as a recognised Makefile extension * Add a test-fixture for the "mkfile" extension * Replace mkfile fixture with rewritten source
This commit is contained in:
committed by
Arfon Smith
parent
f8c5015b20
commit
b89d1a2e77
@@ -2068,6 +2068,7 @@ Makefile:
|
|||||||
- .mak
|
- .mak
|
||||||
- .d
|
- .d
|
||||||
- .mk
|
- .mk
|
||||||
|
- .mkfile
|
||||||
filenames:
|
filenames:
|
||||||
- GNUmakefile
|
- GNUmakefile
|
||||||
- Kbuild
|
- Kbuild
|
||||||
@@ -2076,6 +2077,7 @@ Makefile:
|
|||||||
- Makefile.in
|
- Makefile.in
|
||||||
- Makefile.inc
|
- Makefile.inc
|
||||||
- makefile
|
- makefile
|
||||||
|
- mkfile
|
||||||
interpreters:
|
interpreters:
|
||||||
- make
|
- make
|
||||||
ace_mode: makefile
|
ace_mode: makefile
|
||||||
|
|||||||
9
samples/Makefile/filenames/mkfile
Normal file
9
samples/Makefile/filenames/mkfile
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
GREETINGS=hello gday bonjour hola ola kaixo tag hoi konnichiwa nihao dobredan namaste salaam
|
||||||
|
|
||||||
|
all:V:
|
||||||
|
mk greet.^($GREETINGS)
|
||||||
|
for(i in $GREETINGS)
|
||||||
|
mk $i
|
||||||
|
|
||||||
|
greet.%: text-folder
|
||||||
|
/n/$printer $stem >[2=1]
|
||||||
Reference in New Issue
Block a user