cvs commit: fptools/libraries/base/Control/Monad/X Cont.hs ContT.hs Error.hs ErrorT.hs Fix.hs Identity.hs Monads.hs Nondet.hs NondetT.hs README Reader.hs ReaderT.hs Resume.hs ResumeT.hs State.hs StateT.hs Trans.hs Transformers.hs Types.hs Uti

Alastair Reid
Wed, 4 Jun 2003 20:03:01 +0100

> ok, i'll do that. i am not 100% on the ghc build system, but i'll copy
> and modify some of the other make files, they seems more or less
> understandable.

I'd like to strongly recommend copying the Makefiles in the X11 library
in fptools/libraries/X11. The key files are:

- you'll want to customize mk/ with the name and version 
  of your package

- where you set the package name
  mention any subdirectories that contain makefiles (SUBDIRS)
  mention any subdirectories that contain source code but no makefile
  mention any package dependencies
  specify a few extra compilation flags
- which you will need to customize very slightly (drop mention of X_CFLAGS)

Once you've done that, you can:

  make boot
  make all
  sudo make install    # installs in /usr/local/${PACKAGE}-${VERSION}

Alastair Reid