From b89d1a2e77c391d74d40ae93a4f55f38ac88fc94 Mon Sep 17 00:00:00 2001 From: John Gardner Date: Sat, 9 Apr 2016 12:51:41 +1000 Subject: [PATCH] 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 --- lib/linguist/languages.yml | 2 ++ samples/Makefile/filenames/mkfile | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 samples/Makefile/filenames/mkfile diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index c580fcf2..b5650ede 100755 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -2068,6 +2068,7 @@ Makefile: - .mak - .d - .mk + - .mkfile filenames: - GNUmakefile - Kbuild @@ -2076,6 +2077,7 @@ Makefile: - Makefile.in - Makefile.inc - makefile + - mkfile interpreters: - make ace_mode: makefile diff --git a/samples/Makefile/filenames/mkfile b/samples/Makefile/filenames/mkfile new file mode 100644 index 00000000..6860ff7a --- /dev/null +++ b/samples/Makefile/filenames/mkfile @@ -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]