1. 24 Feb, 2006 1 commit
  2. 08 Feb, 2006 1 commit
  3. 13 Jun, 2005 1 commit
  4. 08 Jun, 2005 1 commit
  5. 07 Jun, 2005 1 commit
  6. 22 Mar, 2005 1 commit
  7. 08 Mar, 2005 1 commit
  8. 02 Feb, 2005 1 commit
  9. 20 Jan, 2005 1 commit
    • simonmar's avatar
      [project @ 2005-01-20 14:22:19 by simonmar] · c830ae13
      simonmar authored
      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 :-)
      c830ae13
  10. 20 Sep, 2002 1 commit
  11. 03 Jul, 2002 1 commit
  12. 02 Jul, 2002 1 commit
  13. 28 Mar, 2002 1 commit
  14. 15 Sep, 2001 1 commit
  15. 27 Apr, 2001 1 commit
    • simonmar's avatar
      [project @ 2001-04-27 10:03:50 by simonmar] · f00d3e89
      simonmar authored
      - Generalise GHC-specific messages in the post-installation
        announcement, and make it stand out a bit more.
      
      - Fix documentation installation for non-GHC packages.
      f00d3e89
  16. 24 Apr, 2001 1 commit
  17. 23 Apr, 2001 1 commit
  18. 10 Apr, 2001 1 commit
  19. 03 Apr, 2001 3 commits
    • sewardj's avatar
      [project @ 2001-04-03 15:08:35 by sewardj] · 0147f8cc
      sewardj authored
      Fix up make-inplace for binary distribs.
      0147f8cc
    • sewardj's avatar
      [project @ 2001-04-03 13:18:34 by sewardj] · 8b2dda50
      sewardj authored
      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.
      8b2dda50
    • sewardj's avatar
      [project @ 2001-04-03 11:31:38 by sewardj] · 54cf53b0
      sewardj authored
      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.
      54cf53b0
  20. 29 Mar, 2001 1 commit
  21. 30 Oct, 2000 1 commit
  22. 12 Oct, 2000 1 commit
  23. 05 Sep, 2000 1 commit
    • simonmar's avatar
      [project @ 2000-09-05 10:16:40 by simonmar] · 5a574720
      simonmar authored
      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.
      5a574720
  24. 05 Oct, 1999 1 commit
    • simonmar's avatar
      [project @ 1999-10-05 10:30:26 by simonmar] · 67fe852e
      simonmar authored
      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.
      67fe852e
  25. 15 Jul, 1999 3 commits
  26. 27 Apr, 1999 1 commit
  27. 02 Mar, 1999 1 commit
  28. 11 Jun, 1998 1 commit
  29. 20 Feb, 1998 1 commit
    • simonm's avatar
      [project @ 1998-02-20 14:07:55 by simonm] · 2ab02a93
      simonm authored
      - 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.
      2ab02a93
  30. 09 Feb, 1998 1 commit
  31. 04 Feb, 1998 1 commit
  32. 29 Jan, 1998 1 commit
  33. 26 Jan, 1998 1 commit
  34. 02 Jan, 1998 2 commits
    • simonm's avatar
      [project @ 1998-01-02 19:05:37 by simonm] · fb314aa3
      simonm authored
      Some shells have problems with 'for i in ; do ...', so protect the
      relevant for loops with 'if test <string>; then ...'.
      fb314aa3
    • simonm's avatar
      [project @ 1998-01-02 18:38:25 by simonm] · 9e2e3832
      simonm authored
      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?).
      9e2e3832
  35. 19 Dec, 1997 1 commit