summaryrefslogtreecommitdiff
path: root/utils/mkdirhier
Commit message (Collapse)AuthorAgeFilesLines
* Drop mkdirhierBen Gamari2022-08-252-19/+0
| | | | This is only used by nofib's dead `dist` target
* Drop make build systemBen Gamari2022-08-251-22/+0
| | | | | | | | | | | Here we at long last remove the `make`-based build system, it having been replaced with the Shake-based Hadrian build system. Users are encouraged to refer to the documentation in `hadrian/doc` and this [1] blog post for details on using Hadrian. Closes #17527. [1] https://www.haskell.org/ghc/blog/20220805-make-to-hadrian.html
* Update Wiki URLs to point to GitLabTakenobu Tani2019-03-252-4/+4
| | | | | | | | | | | | | | | | | | | | | | | This moves all URL references to Trac Wiki to their corresponding GitLab counterparts. This substitution is classified as follows: 1. Automated substitution using sed with Ben's mapping rule [1] Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy... New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy... 2. Manual substitution for URLs containing `#` index Old: ghc.haskell.org/trac/ghc/wiki/XxxYyy...#Zzz New: gitlab.haskell.org/ghc/ghc/wikis/xxx-yyy...#zzz 3. Manual substitution for strings starting with `Commentary` Old: Commentary/XxxYyy... New: commentary/xxx-yyy... See also !539 [1]: https://gitlab.haskell.org/bgamari/gitlab-migration/blob/master/wiki-mapping.json
* Don't use $SHELL in wrapper scriptsJoachim Breitner2017-10-261-1/+1
| | | | | Do not use $SHELL as $SHELL is the user's preferred interactive shell. We do not want this to leak into the wrapper scripts.
* Build system: use `mkdir -p` instead of `-mkdir`Thomas Miedema2015-05-301-3/+2
| | | | | | Avoid unnecessary warnings. [skip ci]
* Fix mkdirhier.sh on OS X 10.9 (#8139)Darin Morrison2013-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Mac OS X 10.9 mkdir is apparently stricter than the Mac OS X 10.8 mkdir about which paths are considered valid arguments. For example, in a typical build on Mac OS X 10.9, the first of the following invocations of mkdirhier.sh will succeed but the second will fail: "inplace/bin/mkdirhier" utils/ghc-cabal/dist/build/tmp//. # WORKS "inplace/bin/mkdirhier" bootstrapping/. # FAILS Simply prefixing the path arguments with "./" causes both to succeed: "inplace/bin/mkdirhier" ./utils/ghc-cabal/dist/build/tmp//. # WORKS "inplace/bin/mkdirhier" ./bootstrapping/. # WORKS Testing indicates failure on paths satisfying all of these criteria: - path is suffixed with "/." - path is only 1 level deep (e.g., "foo/."; _not_ "foo/bar/.") - path is _not_ prefixed with "./" This workaround prefixes "./" to the path argument passed to mkdir. Signed-off-by: Austin Seipp <austin@well-typed.com>
* Globally replace "hackage.haskell.org" with "ghc.haskell.org"Simon Marlow2013-10-012-4/+4
|
* Improve the way we call "rm" in the build system; fixes trac #4916Ian Lynagh2011-11-191-1/+1
| | | | | | | | | | We avoid calling "rm -rf" with no file arguments; this fixes cleaning on Solaris, where that fails. We also check for suspicious arguments: anything containing "..", starting "/", or containing a "*" (you need to call $(wildcard ...) yourself now if you really want globbing). This should make things a little safer.
* Tidy up the "rm" flags in the build systemIan Lynagh2010-05-081-1/+1
|
* mkdirhier now just calls mkdir -pIan Lynagh2009-11-071-42/+1
| | | | The old shell code apparently didn't work properly with /bin/sh=dash
* Quote commands that we run, so they work if there are space in their pathsIan Lynagh2009-05-301-1/+1
| | | | | I've also added some missing $s to some makefiles. These aren't technically necessary, but it's nice to be consistent.
* Add a header to all build system files:Simon Marlow2009-04-282-0/+24
| | | | | | | | | | | | | | # ----------------------------------------------------------------------------- # # (c) 2009 The University of Glasgow # # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying # # -----------------------------------------------------------------------------
* GHC new build system megapatchIan Lynagh2009-04-262-17/+14
|
* bindists are now some way towards workingIan Lynagh2008-08-101-4/+2
|
* mkdirhier.sh now accepts -q, which makes it be quietIan Lynagh2008-06-271-1/+12
|
* Use INSTALL_SCRIPT, not INSTALL_PROGRAM, when installing scripts; fixes #1858Ian Lynagh2007-11-101-3/+3
|
* Fix bindist creationIan Lynagh2007-06-011-0/+5
| | | | | Bindists should now work again, when doing "make install" at least. "make in-place" is probably still broken.
* Rework the build system a bitIan Lynagh2007-05-311-4/+7
| | | | | | Key changes: * Always build as if BIN_DIST is 1. BIN_DIST is thus removed. * Libraries are configured with prefix set to $$topdir rather than $(prefix)
* Reorganisation of the source treeSimon Marlow2006-04-072-0/+45
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.