summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Make boot handle getting the librariesIan Lynagh2007-04-301-1/+1
|
* Make boot handle getting the librariesIan Lynagh2007-04-301-1/+1
|
* Make darcs-all a perl scriptIan Lynagh2007-04-291-1/+1
| | | | | | This fixes a problem where patches altering the darcs-all script break on Windows as the file is open. The script is now also slightly nicer, on balance.
* add missing @ (see bug #1302)Simon Marlow2007-04-271-1/+1
|
* Check boot seems to have been run before we let make proceedIan Lynagh2007-04-121-0/+5
|
* wibble to prep-bin-dist-mingw targetSimon Marlow2007-04-121-1/+1
|
* tidy up the binary-dist targets a bit moreSimon Marlow2007-04-121-10/+11
|
* MERGE: add prep-bin-dist-mingw to binary-dist target, and add a separate ↵Simon Marlow2007-04-121-1/+5
| | | | | | target for publish-binary-dist
* MERGE: fixes to prep-bin-dist-mingw, and add separate rule to tar the bindistSimon Marlow2007-04-121-3/+6
|
* call prep-bin-dist-mingw as part of binary-dist, before we make the tarballSimon Marlow2007-04-111-0/+6
|
* Make building binary dists work with cabalised librariesIan Lynagh2007-03-101-38/+66
|
* Build the libraries with cabalIan Lynagh2007-03-081-2/+2
|
* Use update-alternatives for handling generic tool namessven.panne@aedion.de2007-03-151-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ATTENTION: Packagers should read the following stuff carefully! GHC, Hugs and nhc come with various tools like runhaskell or hsc2hs. On the one hand this is quite handy, avoiding lots of tiny native packages, but OTOH this leads to a few problems: * The tools are not always identical in functionality. * The tools fight for a global generic name like "/usr/bin/runhaskell". These problems are not new and not unique to Haskell implementations, so for *nix-based system there is a tool called update-alternatives which handles those cases. The idea is as follows: * Each program/man page/etc. installs itself with a very specific name like /usr/bin/hsc2hs-ghc or /usr/share/man/man1/lua5.1.1.gz, so nothing clashes. * The (un-)installation scripts call update-alternatives to notify the system about new alternatives for a generic tool/manpage/etc. * Alternatives can be grouped together ("link groups"), so e.g. switching from Sun's Java to Kaffe switches compiler, JRE, manpages etc. together. Alas, this doesn't work well with the Haskell implementations yet, because they come with different sets of tools (in addition to runFOO): GHC: hsc2hs Hugs: hsc2hs, cpphs nhc: cpphs Either these tools should be disentangled fromt the Haskell implementations or all implementations should offer the same set. Opinions and recommendations on this topic are highly welcome. * This mechanism can be used to easily switch between several versions of the same implementation, too, but we are not yet fully prepared for that. As a first step, GHC now installs hsc2hs as 'hsc2hs-ghc' and does *not* install runhaskell directly anymore, only runghc. hsc2hs and runhaskell are created via update-alternatives now. What is currently missing is a mechanism for platforms like Windows and probably Mac OS X.
* Avoid duplication in the binary-dist rules for docsIan Lynagh2007-03-091-20/+16
| | | | | | Rather than building complex sh stuff and echoing what we're doing ourselves, use make rules to do the looping and let make print things out.
* Remove duplication in binary dist rulesIan Lynagh2007-03-091-27/+18
| | | | | | Rather than building complex sh stuff and echoing what we're doing ourselves, use make rules to do the looping and let make print things out.
* upload documentation tooSimon Marlow2007-02-221-1/+2
|
* refactoringSimon Marlow2007-02-221-54/+56
|
* make VERSION a dependency of distSimon Marlow2007-02-081-5/+5
|
* fix cut-and-pasto in code for binary-dist uploadSimon Marlow2007-02-081-2/+2
|
* Detect the snapshot version number using darcsSimon Marlow2007-02-061-1/+9
| | | | | | | | | | | | | | For non-release builds, we want to append a date to the version number (e.g. 6.7.20070206). Previously this was done by the nightly build script, this new method figures out the snapshot version by querying the darcs repository and finding the date of the most recent patch (actually it finds the most recent of the last 100 patches, but that should be good enough). This is done by the configure script. To handle source distributions, we create a file VERSION in the top-level directory that contains the version number, and ship this in the source distribution. The configure script picks up the version from this file if it doesn't see a _darcs directory.
* Make binary-dist tarballs automatically, and add support for uploadingSimon Marlow2007-02-051-17/+33
| | | | | Moving functionality that was previously in the nightly build scripts into the top-level Makefile, so it's easier to use from BuildBot.
* Simpler, more self-contained, "make dist"Simon Marlow2007-02-051-31/+28
| | | | | | This version does all its work in a subdirectory (no more destructive 'make distclean' in the current build tree), and results in the exact -src.tar.bz2 distributions that we will put up for download.
* Fix a typo.lennart@augustsson.net2007-02-041-1/+1
|
* Sanity check that all the core packages are presentSimon Marlow2006-09-161-4/+15
| | | | To catch the case of not running darcs-all get.
* Add few more guesses where to find bits of mingw-gccEsa Ilari Vuokko2006-08-121-0/+2
|
* $(ProjectNameShort) => ghcSimon Marlow2006-05-031-15/+15
|
* move "compat" earlier in the build for .hc bootstrappingSimon Marlow2006-05-021-1/+1
|
* fix problem with binary-dist docsSimon Marlow2006-04-241-2/+1
|
* Add .spec file to source distributionsven.panne@aedion.de2006-04-191-1/+1
|
* fix source distsSimon Marlow2006-04-071-4/+3
|
* fix binary distsSimon Marlow2006-04-071-57/+32
|
* Reorganisation of the source treeSimon Marlow2006-04-071-102/+135
| | | | | | | | | | | | | | | Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.
* Change CVS for _darcs in dirs to prune during make distDuncan Coutts2006-02-091-2/+2
|
* [project @ 2005-05-16 14:39:54 by simonmar]simonmar2005-05-161-2/+17
| | | | | | Set BINDIST_DOC_WAYS appropriately depending on which doc-building tools are available. The default is to build all of html, ps & pdf if possible.
* [project @ 2005-04-29 22:02:46 by sof]sof2005-04-291-2/+4
| | | | BINDIST_DOC_WAYS: permit variable to be overridden (in a mk/build.mk, perhaps); merge to STABLE
* [project @ 2005-03-22 06:37:57 by wolfgang]wolfgang2005-03-221-0/+4
| | | | | | Mac OS X: Make bindist work with dynamic libraries MERGE TO STABLE
* [project @ 2005-03-08 11:56:55 by simonmar]simonmar2005-03-081-0/+1
| | | | Allow for optional binary installation
* [project @ 2005-03-02 10:59:31 by simonmar]simonmar2005-03-021-1/+1
| | | | on second thoughts, don't clean mk/config.mk yet
* [project @ 2005-03-02 10:58:04 by simonmar]simonmar2005-03-021-1/+1
| | | | Some more distcleaning
* [project @ 2005-02-21 14:53:16 by simonmar]simonmar2005-02-211-1/+1
| | | | add mk/fix_install_names.sh to source dist
* [project @ 2005-02-07 14:05:25 by simonmar]simonmar2005-02-071-1/+1
| | | | Fix doc building for binary distributions
* [project @ 2005-01-27 11:27:22 by simonmar]simonmar2005-01-271-1/+5
| | | | updates to hc-file-bundle target
* [project @ 2005-01-26 16:05:48 by simonmar]simonmar2005-01-261-0/+1
| | | | hc-file-bundle: need to track ghc/lib too
* [project @ 2005-01-20 14:22:19 by simonmar]simonmar2005-01-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fill in the haddock-interfaces and haddock-html fields in the package.conf files. To do this I had to make some changes: - haddock-interfaces requires the value of $(datadir). We can't just plug this in, because $(datadir) might change at install-time (eg. a Windows installer can be placed anywhere, as can a Unix binary .tar.gz distribution). The current trick is for the compiler to splice in the value of $libdir in package.conf at runtime. So we could extend this mechanism and tell the compiler the value of $datadir via a command-line option, but that seems ugly. On Windows, $datadir==$libdir, so we don't need any changes: package.conf still uses $libdir, and a Windows installation is independent of its absolute location. Even 'make install' on Windows should have this property. On Unix: - for 'make install' and in-place execution, we just use absolute paths in package.conf - for a binary dist, we generate a package.conf that refers to $libdir and $datadir, and splice in the values at install-time (distrib/Makefile-bin.in). - Also, I renamed $libdir to $topdir to more closely reflect its actual meaning. This is somewhat malicious in that it will flush out all those clients using $libdir when they really shouldn't be :-)
* [project @ 2005-01-19 11:48:15 by simonmar]simonmar2005-01-191-2/+8
| | | | -jN friendliness
* [project @ 2005-01-14 16:00:55 by simonmar]simonmar2005-01-141-1/+2
| | | | Add mk/fptools.css to $(SRC_DIST_FILES)
* [project @ 2005-01-04 13:41:53 by simonmar]simonmar2005-01-041-1/+2
| | | | | | | | | ghc/mk/config.mk was never being included in ordinary Makefiles. It was only included in the top-level fptools/Makefile for the purposes of obtaining binary distribution settings. This fixes that problem, and now as a side-effect $(GhcHasReadline) will start working again.
* [project @ 2004-10-07 06:38:20 by mthomas]mthomas2004-10-071-2/+4
| | | | Check for shell scripts first - they don't exist on my Windows nightly build.
* [project @ 2004-09-21 17:49:22 by panne]panne2004-09-211-1/+4
| | | | | * Added new target for creating *.bz2 source distributions * Cleanup *.tar.gz / *.tar.bz2 when things go wrong
* [project @ 2004-09-21 17:39:08 by panne]panne2004-09-211-1/+1
| | | | Makefile.config is dead, so don't include it in SRC_DIST_FILES.