[Git][ghc/ghc][wip/fendor/dep-json] 3 commits: Refactor Makefile to use phases appropriately