X-Git-Url: https://git.ladys.computer/Shushe/blobdiff_plain/8ec9a45141899d218b31c488fdbc8f820800ee69..5e96540e69e1b5bd59753284b26439419745168a:/GNUmakefile diff --git a/GNUmakefile b/GNUmakefile index 6779aa7..f4161de 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -359,7 +359,7 @@ override plaintextfiles := $(filter-out $(xmlfiles),$(call filesoftype,$(plainte override assetfiles := $(filter-out $(xmlfiles) $(plaintextfiles),$(sourcefiles) $(sourceincludes)) # (callable) Get the types of the given files. -override typeoffile = $(patsubst $(foreach file,$1,$(file)|%),%,$(filter $(foreach file,$1,$(file)|%),$(types))) +override typeoffile = $(foreach file,$1,$(patsubst $(file)|%,%,$(filter $(file)|%,$(types)))) # Pair each source magic file with its location in the build directory. override magicpair := $(foreach magicfile,$(MAGIC),$(magicfile)|$(BUILDDIR)/magic/$(notdir $(magicfile)))