GO:0072576: liver morphogenesis
The process in which the anatomical structures of the liver are generated and organized.