[project @ 1999-10-05 10:30:26 by simonmar]
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.
Showing
- Makefile 67 additions, 9 deletionsMakefile
- distrib/Makefile-bin.in 51 additions, 57 deletionsdistrib/Makefile-bin.in
- ghc/driver/Makefile 30 additions, 31 deletionsghc/driver/Makefile
- ghc/driver/ghc.lprl 8 additions, 14 deletionsghc/driver/ghc.lprl
- ghc/lib/concurrent/Makefile 3 additions, 1 deletionghc/lib/concurrent/Makefile
- ghc/lib/exts/Makefile 2 additions, 0 deletionsghc/lib/exts/Makefile
- ghc/lib/misc/Makefile 3 additions, 1 deletionghc/lib/misc/Makefile
- ghc/lib/posix/Makefile 3 additions, 1 deletionghc/lib/posix/Makefile
- ghc/lib/std/Makefile 2 additions, 0 deletionsghc/lib/std/Makefile
- ghc/mk/paths.mk 3 additions, 1 deletionghc/mk/paths.mk
- ghc/mk/version.mk 11 additions, 3 deletionsghc/mk/version.mk
- ghc/utils/hscpp/Makefile 6 additions, 23 deletionsghc/utils/hscpp/Makefile
- ghc/utils/mkdependHS/Makefile 23 additions, 33 deletionsghc/utils/mkdependHS/Makefile
- mk/target.mk 0 additions, 53 deletionsmk/target.mk
Loading
Please register or sign in to comment