under solaris

Christian Maeder maeder at tzi.de
Tue Apr 18 09:11:57 EDT 2006

Simon Marlow wrote:
> This bit of Makefile code is possibly going wrong for you:
>    -include $(shell echo $(ProjectDirectory) | tr A-Z a-z)/mk/config.mk
>    -include $(shell echo $(ProjectDirectory) | tr A-Z a-z)/mk/version.mk

you're right!

> Try this instead:
>   $ make Project=Ghc ProjectDirectory=ghc show VALUE=GhcBinDistDirs
> from the top level.

This shows the values correctly now.

> Maybe that tr command doesn't work on Solaris?

When I replace "tr A-Z a-z" with

   tr "[:upper:]" "[:lower:]"

(taken from "man tr') 'gmake binary-dist' works for me now, too.

Thanks Christian

More information about the Glasgow-haskell-users mailing list