What is the Definition of Bibliography?

A bibliography would be a list of all the writings on a certain subject or it could be a list of certain writings used by an author when they were writing their book.