maint.mk: add syntax-check to avoid char[PATH_MAX]