make-build is broken
bug introduced by commit 4333ab31
not sure what this fix were supposed to do but looks like a typo - please look at patch and confirm, if this cond statement is what you wanted. Attached files are patches generated with git format-patch, first contains minimal test for make-build, second mentioned fix.
running all tests shown no regression (between master and patches).