summaryrefslogtreecommitdiff
path: root/distrib/Makefile-bin.in
Commit message (Collapse)AuthorAgeFilesLines
* oops, undo accidental addition of package-time settingsSimon Marlow2006-02-241-9/+0
|
* fix installation of binary dist when the PS docs aren't presentSimon Marlow2006-02-081-1/+12
| | | | Fixes #660
* [project @ 2005-06-13 10:21:09 by simonmar]simonmar2005-06-131-2/+1
| | | | | Use perl rather than sed to munge the package.conf file; avoids portability problems with sed (previous version didn't work on Solaris).
* [project @ 2005-06-08 07:56:55 by simonmar]simonmar2005-06-081-1/+1
| | | | use test -f instead of -s, for portability.
* [project @ 2005-06-07 15:06:59 by simonmar]simonmar2005-06-071-2/+2
| | | | Remove some non-portable uses of /bin/test, from Christian Maeder.
* [project @ 2005-03-22 06:37:57 by wolfgang]wolfgang2005-03-221-0/+7
| | | | | | 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/+3
| | | | Allow for optional binary installation
* [project @ 2005-02-02 11:04:23 by simonmar]simonmar2005-02-021-2/+1
| | | | Fix sed command line
* [project @ 2005-01-20 14:22:19 by simonmar]simonmar2005-01-201-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 @ 2002-09-20 13:08:42 by simonmar]simonmar2002-09-201-1/+3
| | | | Fix the install-datas target when $(INSTALL) is ./install-sh
* [project @ 2002-07-03 11:16:56 by simonmar]simonmar2002-07-031-1/+3
| | | | Small fix to the documentation installation
* [project @ 2002-07-02 14:55:29 by simonmar]simonmar2002-07-021-8/+8
| | | | Updates, mainly to get the documentation installed
* [project @ 2002-03-28 14:43:14 by sof]sof2002-03-281-7/+3
| | | | cygwin-specific path mangling of CWD no longer reqd
* [project @ 2001-09-15 04:29:58 by ken]ken2001-09-151-1/+1
| | | | | Make the binary distribution Makefile work with non-GNU make when installing in-place. MERGE TO STABLE
* [project @ 2001-04-27 10:03:50 by simonmar]simonmar2001-04-271-15/+13
| | | | | | | - Generalise GHC-specific messages in the post-installation announcement, and make it stand out a bit more. - Fix documentation installation for non-GHC packages.
* [project @ 2001-04-24 10:06:18 by simonmar]simonmar2001-04-241-3/+2
| | | | Pass $(libdir) to the post install script, not $(prefix)
* [project @ 2001-04-23 10:34:23 by sewardj]sewardj2001-04-231-7/+11
| | | | merge rev 1.42.2.1
* [project @ 2001-04-10 13:52:31 by sewardj]sewardj2001-04-101-23/+17
| | | | | Make installation of documentation in binary dists work properly. Also install documentation by default for make install.
* [project @ 2001-04-03 15:08:35 by sewardj]sewardj2001-04-031-0/+6
| | | | Fix up make-inplace for binary distribs.
* [project @ 2001-04-03 13:18:34 by sewardj]sewardj2001-04-031-2/+2
| | | | | | | Clean up the post-install-script mechanism a bit, so that the script for project is <project>/mk/post-install-script. For project ghc, don't install pkgconf unless BIN_DIST=1.
* [project @ 2001-04-03 11:31:38 by sewardj]sewardj2001-04-031-4/+12
| | | | | | | | | Make binary-dist installations work, by generating a proper package.conf file. This is done by allowing fptools packages to supply an arbitrary post-install shell script, which the bin-dist 'make install' runs last of all. In Project=Ghc's case, the post-install script runs pkgconf with appropriate params to create the package.conf file in the right place.
* [project @ 2001-03-29 10:45:58 by simonmar]simonmar2001-03-291-2/+2
| | | | allow VERSION_SYMLINKS_FOR to be configured
* [project @ 2000-10-30 17:37:05 by rrt]rrt2000-10-301-1/+1
| | | | | cp and chmod during install switched over in case we're copying from a read-only medium or something.
* [project @ 2000-10-12 15:21:36 by rrt]rrt2000-10-121-1/+3
| | | | Simple fix for install of HTML: mimic recursive install with chmod and cp.
* [project @ 2000-09-05 10:16:40 by simonmar]simonmar2000-09-051-4/+4
| | | | | | | Rename the make variable TMPDIR to DEFAULT_TMPDIR. This fixes the problem that saying 'TMPDIR=/foo make' in an fptools tree didn't work, because GNU make is in the habit of overriding an environment variable with the value of the corresponding make variable in a sub-process.
* [project @ 1999-10-05 10:30:26 by simonmar]simonmar1999-10-051-57/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build System Cleanup -------------------- This commit is intended to clear the way for automatic RPM building. In particular, the idea is that 'make install' doesn't build anything, so you can do make install prefix=/some/tmp/prefix to install everything in /some/tmp/prefix, but leave the hardwired-in install directories the same. For scripts that depend on the install dir (currently just the GHC driver and mkdependHS), we now build two versions: <script>-inplace, which is used for running the script from the build tree, and <script>, which is the to-be-installed version. NOTE: binary distributions are now a little bit trickier to build. You *must* include the line "BIN_DIST=1" in your build.mk if you intend to make a binary distribution from the current build tree. This is because certain scripts have to be built differently, and we don't rebuild them when doing 'make binary-dist' anymore (since 'make binary-dist' just does a 'make install' with a re-targetted prefix, just like the RPM builder). Other changes - the binary-dist machinery is now all in fptools/Makefile - removed a gratuitous $(package)-$(version) level of directories from the binary distribution. - binary distributions are now placed under the package name, rather than fptools/fptools. - various other minor cleanups.
* [project @ 1999-07-15 18:16:41 by panne]panne1999-07-151-2/+2
| | | | | | Patched my previous patch ($ vs $$, && vs if/then/fi). Installing a Happy binary-dist still only creates a happy and no happy-1.6 executable, but this has very probably nothing to do with my changes.
* [project @ 1999-07-15 16:20:46 by panne]panne1999-07-151-4/+4
| | | | Two checks for empty file lists added.
* [project @ 1999-07-15 09:58:23 by simonmar]simonmar1999-07-151-4/+0
| | | | No more RAWCPP, thank you.
* [project @ 1999-04-27 18:30:26 by sof]sof1999-04-271-1/+4
| | | | When installing, append to entries in PACKAGE_BINS list
* [project @ 1999-03-02 11:46:28 by simonm]simonm1999-03-021-3/+3
| | | | Install the docs in $real_datadir, not $datadir.
* [project @ 1998-06-11 10:09:02 by sof]sof1998-06-111-2/+9
| | | | | | install-bin: * if any of $(VERSION_SYMLINKS_FOR) already exists as a symlink, replace it with a new one.
* [project @ 1998-02-20 14:07:55 by simonm]simonm1998-02-201-13/+2
| | | | | | | | - mk-version-symlinks not needed any more: the links are installed by the relevant Makefiles. - install the link from $(package) to $(package-version) in the installation directory.
* [project @ 1998-02-09 12:41:41 by sof]sof1998-02-091-2/+6
| | | | Perform UNC->DOS translation on what bash-cygwin32's pwd returns.
* [project @ 1998-02-04 20:49:26 by sof]sof1998-02-041-1/+7
| | | | Added TMPDIR to list of variables prepended to perl & sh scripts.
* [project @ 1998-01-29 11:38:20 by simonm]simonm1998-01-291-6/+6
| | | | fix script installation *again*.
* [project @ 1998-01-26 14:37:28 by simonm]simonm1998-01-261-12/+12
| | | | Finally fix the 'for i in ; do ...' problem.
* [project @ 1998-01-02 19:05:37 by simonm]simonm1998-01-021-6/+12
| | | | | Some shells have problems with 'for i in ; do ...', so protect the relevant for loops with 'if test <string>; then ...'.
* [project @ 1998-01-02 18:38:25 by simonm]simonm1998-01-021-3/+3
| | | | | | Replace three 'test ... && ...' sequences with 'if ... then ... fi', since the test form would fail, causing some non-GNU makes to bomb out (maybe they invoke sh with -e?).
* [project @ 1997-12-19 16:54:23 by simonm]simonm1997-12-191-2/+2
| | | | use PACKAGE_BINS to get the actual binaries to install.
* [project @ 1997-12-16 11:38:12 by simonm]simonm1997-12-161-15/+4
| | | | make this Makefile package-independant.
* [project @ 1997-11-13 12:10:32 by simonm]simonm1997-11-131-1/+1
| | | | update to version 2.08
* [project @ 1997-10-17 11:05:31 by simonm]simonm1997-10-171-12/+12
| | | | protect $$s for bash.
* [project @ 1997-10-14 13:23:54 by simonm]simonm1997-10-141-4/+8
| | | | prepend SED and RAWCPP to all scripts, not just PACKAGE_LIB_SCRIPTS.
* [project @ 1997-10-13 09:44:11 by simonm]simonm1997-10-131-12/+12
| | | | do the symlink thing when installing, not in the local tree.
* [project @ 1997-10-13 09:39:23 by simonm]simonm1997-10-131-5/+9
| | | | | | | Link ghc to ghc-$(version), not the other way around. This means that old versions won't be spammed when a new one is installed. To go in 3.00
* [project @ 1997-10-09 10:38:14 by sof]sof1997-10-091-1/+5
| | | | Upped version number; added SED and RAWCPP for lib_scripts
* [project @ 1997-10-03 15:53:46 by andre]andre1997-10-031-1/+1
| | | | perl not being added to scripts' top line
* [project @ 1997-10-03 15:18:32 by simonm]simonm1997-10-031-2/+17
| | | | update version number, and add stuff to install happy.
* [project @ 1997-10-01 23:02:40 by andre]andre1997-10-011-1/+1
| | | | changing version number to 2.07