This project is mirrored from https://github.com/haskell/Cabal.
Pull mirroring updated .
- 23 Aug, 2007 7 commits
-
-
Duncan Coutts authored
It's the same format as the build-depends, eg: build-tools: cpphs, c2hs >= 0.15 During the configure step we try to configure the listed programs and if a version range is specified then we check that it is satisfied.
-
Duncan Coutts authored
Normally we'd warn if using a new format cabal file and a cabal-version >= 1.2 field is not specified in the cabal file. However we cannot do this for cabal itself or we'd not be able to bootstrap. So we just supress the warning for the package "Cabal".
-
Duncan Coutts authored
Use "--with-PROG=" rather than "--with-<program>" since the other subsitution bits like ARGS, PATH etc are upper case contractions. So it's more consistent.
-
Duncan Coutts authored
And reduce the padding slightly. The configure help text look slightly less terrible now, though we've still got too many long flags and short flags with long arg names so there's not really enough width for the description so it wraps in too many cases.
-
Duncan Coutts authored
Instead have just two generic ones in the help text and at the bottom, list the programs that the flags apply to. This still needs to be properly word wrapped to fit in 80 cols (as does the rest of the help text).
-
Duncan Coutts authored
-
Duncan Coutts authored
It's still useless on Windows.
-
- 22 Aug, 2007 1 commit
-
-
Duncan Coutts authored
The text from the description is now used for haddock
-
- 19 Aug, 2007 2 commits
-
-
Ross Paterson authored
-
Ross Paterson authored
-
- 17 Aug, 2007 6 commits
-
-
Duncan Coutts authored
I don't think we need one for ghc either, but perhaps we shouldn't remove that immediately as people might be using it. It's safe to remove -n now becuase nobody is relying on it as nhc support is still incomplete.
-
Duncan Coutts authored
-
Duncan Coutts authored
This actually brings it into line with the other commands which do not produce much output by default. It is very very quiet by default now though. To make the -v output nice we have to lower the verbosity one notch in places.
-
Duncan Coutts authored
This was easy to do now that Programs know how to find their version numbers.
-
Duncan Coutts authored
Also make the follow on changes to everything that uses Program. The notion of a program is now split into the abstract notion of a program that we know about and might be able to configure, and a configured program that we can actually run. The ProgramConfiguration database is similarly split. We still keep user-supplied loation and arguments and use them when we configure programs. The abstract Program now has functions to search for the program on the system and for finding the version number. This allows for more generic configuration of programs.
-
Duncan Coutts authored
-
- 16 Aug, 2007 3 commits
-
-
ei@vuokko.info authored
-
ei@vuokko.info authored
-
Duncan Coutts authored
Fixes bug #140
-
- 14 Aug, 2007 7 commits
-
-
ei@vuokko.info authored
-
ei@vuokko.info authored
-
ei@vuokko.info authored
-
ei@vuokko.info authored
-
ei@vuokko.info authored
-
Duncan Coutts authored
New types for the collection of installation directory templates and a separate type for the collection of actual real install FilePaths. The templates are represented with a PathTemplate adt. Dir templates can now be relative to each other, eg $htmldir to $docdir Default install dir templates are now specified compactly in one place. Adding new dirs should be considerably simpler than previously. This patch should not actualy change where anything is installed.
-
Duncan Coutts authored
-
- 12 Aug, 2007 1 commit
-
-
Duncan Coutts authored
-
- 11 Aug, 2007 2 commits
-
-
ei@vuokko.info authored
-
ei@vuokko.info authored
-
- 09 Aug, 2007 1 commit
-
-
ei@vuokko.info authored
-
- 08 Aug, 2007 1 commit
-
-
Duncan Coutts authored
Needed because some compilers support some language extensions by default so need no flag to turn those extensions on.
-
- 01 Aug, 2007 1 commit
-
-
Ian Lynagh authored
-
- 09 Aug, 2007 1 commit
-
-
Simon Marlow authored
-
- 08 Aug, 2007 1 commit
-
-
Magnus Jonsson authored
-
- 07 Aug, 2007 6 commits
-
-
Duncan Coutts authored
it no longer exports the internal per-compiler extension to flags functions as they are no longer exist and the equivalents are internal.
-
Duncan Coutts authored
-
Duncan Coutts authored
It's just a list of supported extensions and the corresponding compiler flags. For most compilers this is currently just a static list. For ghc 6.7 and above we query ghc to find the list of language extensions it supports. In each case the code has moved out into the compiler-specific modules and the core code treats it generically. The extensionsToFlags function has been split into two: extensionsToFlags which now returns the flags for the supported extensions and unsupportedExtensions which does what it says it does. This is because the two roles of the previous function were always used separately, never together.
-
Duncan Coutts authored
-
nominolo@gmail.com authored
-
nominolo@gmail.com authored
-