What is the meaning of the word "rigmarole"?

Definitions:

  1. a long and complicated and confusing procedure copy to clipboard noun
    • all that academic rigmarole was a waste of time copy to clipboard

Synonyms: