Is this a bug in GNU make’s `filter`?

I have a Makefile that starts like this: CORE_PATH:=$(filter %/makefile_ltlibs.inc,$(MAKEFILE_LIST)) foobar: @echo “MAKEFILE_LIST = \”$(MAKEFILE_LIST)\”” @echo “filter = \”$(filter %/makefile_ltlibs.inc,$(MAKEFILE_LIST))\”” @echo “CORE_PATH = \”$(CORE_PATH)\”” and when I run gmake foobar I get the follow output: MAKEFILE_LIST = ” GNUmakefile ../../matrixssl.test/crypto/Makefile ../common.mk ../core/makefiles/detect-and-rules.mk ../../matrixssl.test/crypto/makefile.inc makefile ../../matrixssl.test/crypto/makefile_ltlibs.inc” filter = “../../matrixssl.test/crypto/makefile_ltlibs.inc” CORE_PATH = “” How is it possible…

Details

How to access a

I’m trying to show/hide elements based on the value of a <select> dropdown. The select itself is made in symfony, like this: $builder ->add(‘category’) And what I’ve done with jquery: $(‘#resource_form_type_category’).on(‘change’, function () { $(‘.form-type-url’).css(‘display’, (this.value === ‘1’ || this.value === ‘4’) ? ‘block’ : ‘none’); $(‘.form-type-image’).css(‘display’, (this.value === ‘1’) ? ‘block’ : ‘none’); $(‘.form-type-file’).css(‘display’,…

Details