I have Mojo Records "The Complete Metal Discography" and while it has some errors here and there...it pretty much is a catalog from the 50s to 2001 or so of bands that could be defined in the punk, metal, and hard rock genres (classified in the book as "hardcore, metal, and hard rock" and even throws in some "rap metal" to boot... 
  
all in all it covers 1,200 bands/artists and is a very good catalog of stuff...but it includes bands that would fall into punk, hardcore, ska, hard rock, classical metal, classic rock, glam rock/hair metal, and everything in between... 
  
but the title specifically says "Metal"