mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-06 06:48:48 +00:00
fix: update build files
Add `install` stanza to `dune` files to install std and runtime to expected directories Delete manual copying from `install` scenario in `Makefile`
This commit is contained in:
parent
5da0273afa
commit
91b18d023b
7 changed files with 31 additions and 9 deletions
8
Makefile
8
Makefile
|
|
@ -15,14 +15,6 @@ build:
|
|||
install: all
|
||||
dune b @install --profile=release
|
||||
dune install --profile=release
|
||||
$(MKDIR) -p `opam var share`/Lama/x64
|
||||
$(INSTALL) $(shell ls _build/default/stdlib/x64/*.[oi] _build/default/stdlib/x64/stdlib/*.lama \
|
||||
runtime/runtime.a runtime/Std.i) \
|
||||
`opam var share`/Lama/x64
|
||||
$(MKDIR) -p `opam var share`/Lama/x32
|
||||
$(INSTALL) $(shell ls _build/default/stdlib/x32/*.[oi] _build/default/stdlib/x32/stdlib/*.lama \
|
||||
runtime32/runtime.a runtime32/Std.i) \
|
||||
`opam var share`/Lama/x32
|
||||
|
||||
_build/default/Lama.install:
|
||||
dune b @install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue