Skip to content

Commit

Permalink
Merge pull request #57 from juhp/patch-1
Browse files Browse the repository at this point in the history
readme: update install targets
  • Loading branch information
augustss authored Sep 7, 2024
2 parents edc7c00 + ea5ce18 commit b9993a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ Note that `mhs` built with ghc does not have all the functionality.
Also note that there is no need to have a Haskell compiler to run MicroHs.
All you need is a C compiler, and MicroHs can bootstrap, given the included combinator file.

To install `mhs` use `make installmcabal`. This will install `mhs` in `~/.mcabal` in the same
To install `mhs` use `make install`. This will install `mhs` in `~/.mcabal` in the same
way as `mcabal` (MicroCabal) would have. It will install a compiler binary and a compiled base package.
You will have to add `~/.mcabal/bin` to your `PATH`.

Alternatively, to install `mhs` use `make install`. By default this copies the files to `/usr/local`,
but this can be overridden by `make PREFIX=dir install`.
Alternatively, to install `mhs` use `make oldinstall`. By default this copies the files to `/usr/local`,
but this can be overridden by `make PREFIX=dir oldinstall`.
You also need to set the environment variable `MHSDIR`.

To compile on Windows make sure `cl` is in the path, and then use `nmake` with `Makefile.windows`.
Expand Down

0 comments on commit b9993a7

Please sign in to comment.