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 alastair@reid-consulting-uk.ltd.uk
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:

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

Makefile
- where you set the package name
  mention any subdirectories that contain makefiles (SUBDIRS)
  mention any subdirectories that contain source code but no makefile
      (ALLDIRS)
  mention any package dependencies
  specify a few extra compilation flags

package.conf.in
- 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