@hackage cabal-dir0.1.0.0

show dist dir of 'cabal copy/install'

show dist dir of 'cabal copy/install'

% cabal configure
% cabal-dir
bindir : /usr/local/bin
libdir : /usr/local/lib/foo-0.1.2.3/ghc-8.8.8
datadir: /usr/local/share/foo-0.1.2.3
htmldir: /usr/local/share/doc/foo-0.1.2.3/html

% cabal-dir /usr/local
bindir : bin
libdir : lib/foo-0.1.2.3/ghc-8.8.8
datadir: share/foo-0.1.2.3
htmldir: share/doc/foo-0.1.2.3/html