Use cabal information to get GHC's flags to `ghctags'.
authorThomas Schilling <nominolo@googlemail.com>
Mon, 13 Oct 2008 17:06:58 +0000 (17:06 +0000)
committerThomas Schilling <nominolo@googlemail.com>
Mon, 13 Oct 2008 17:06:58 +0000 (17:06 +0000)
commit7fb94f753f166563ee3f3b43e7ec5064e82971d3
tree4c91a164b50ae14db924e0f90d9ebad11fe363ae
parentd156d29bbd55446cd9e3c1dec3726103f11e2e3b
Use cabal information to get GHC's flags to `ghctags'.

By giving the dist-directory to ghctags we can get all the GHC API
flags we need in order to load the required modules.  The flag name
could perhaps be improved, but apart from that it seems to work well.
utils/ghctags/GhcTags.hs