| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Fixes #660
|
|
|
|
|
| |
Use perl rather than sed to munge the package.conf file; avoids
portability problems with sed (previous version didn't work on Solaris).
|
|
|
|
| |
use test -f instead of -s, for portability.
|
|
|
|
| |
Remove some non-portable uses of /bin/test, from Christian Maeder.
|
|
|
|
|
|
| |
Mac OS X: Make bindist work with dynamic libraries
MERGE TO STABLE
|
|
|
|
| |
Allow for optional binary installation
|
|
|
|
| |
Fix sed command line
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 :-)
|
|
|
|
| |
Fix the install-datas target when $(INSTALL) is ./install-sh
|
|
|
|
| |
Small fix to the documentation installation
|
|
|
|
| |
Updates, mainly to get the documentation installed
|
|
|
|
| |
cygwin-specific path mangling of CWD no longer reqd
|
|
|
|
|
| |
Make the binary distribution Makefile work with non-GNU make when
installing in-place. MERGE TO STABLE
|
|
|
|
|
|
|
| |
- Generalise GHC-specific messages in the post-installation
announcement, and make it stand out a bit more.
- Fix documentation installation for non-GHC packages.
|
|
|
|
| |
Pass $(libdir) to the post install script, not $(prefix)
|
|
|
|
| |
merge rev 1.42.2.1
|
|
|
|
|
| |
Make installation of documentation in binary dists work properly.
Also install documentation by default for make install.
|
|
|
|
| |
Fix up make-inplace for binary distribs.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
allow VERSION_SYMLINKS_FOR to be configured
|
|
|
|
|
| |
cp and chmod during install switched over in case we're copying from a
read-only medium or something.
|
|
|
|
| |
Simple fix for install of HTML: mimic recursive install with chmod and cp.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Two checks for empty file lists added.
|
|
|
|
| |
No more RAWCPP, thank you.
|
|
|
|
| |
When installing, append to entries in PACKAGE_BINS list
|
|
|
|
| |
Install the docs in $real_datadir, not $datadir.
|
|
|
|
|
|
| |
install-bin:
* if any of $(VERSION_SYMLINKS_FOR) already exists as a symlink,
replace it with a new one.
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
Perform UNC->DOS translation on what bash-cygwin32's pwd returns.
|
|
|
|
| |
Added TMPDIR to list of variables prepended to perl & sh scripts.
|
|
|
|
| |
fix script installation *again*.
|
|
|
|
| |
Finally fix the 'for i in ; do ...' problem.
|
|
|
|
|
| |
Some shells have problems with 'for i in ; do ...', so protect the
relevant for loops with 'if test <string>; then ...'.
|
|
|
|
|
|
| |
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?).
|
|
|
|
| |
use PACKAGE_BINS to get the actual binaries to install.
|
|
|
|
| |
make this Makefile package-independant.
|
|
|
|
| |
update to version 2.08
|
|
|
|
| |
protect $$s for bash.
|
|
|
|
| |
prepend SED and RAWCPP to all scripts, not just PACKAGE_LIB_SCRIPTS.
|
|
|
|
| |
do the symlink thing when installing, not in the local tree.
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Upped version number; added SED and RAWCPP for lib_scripts
|
|
|
|
| |
perl not being added to scripts' top line
|
|
|
|
| |
update version number, and add stuff to install happy.
|
|
|
|
| |
changing version number to 2.07
|