Skip to content

Commit

Permalink
Move the install-compiler-sources target from Makefile to Makefile.sh…
Browse files Browse the repository at this point in the history
…ared

This target has been introduced by GPR ocaml#827 but added only to the
Unix build system. This commit makes it available to the Windows build
system, too.
  • Loading branch information
shindere committed Feb 6, 2017
1 parent a687ae6 commit 9ce2095
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -287,12 +287,6 @@ installoptopt:
cd $(INSTALL_COMPLIBDIR) && $(RANLIB) ocamlcommon.a ocamlbytecomp.a \
ocamloptcomp.a

# Installation of the *.ml sources of compiler-libs
install-compiler-sources:
cp utils/*.ml parsing/*.ml typing/*.ml bytecomp/*.ml driver/*.ml \
toplevel/*.ml middle_end/*.ml middle_end/base_types/*.ml \
asmcomp/*.ml $(INSTALL_COMPLIBDIR)

# Build the manual latex files from the etex source files
# (see manual/README.md)
manual-pregen: opt.opt
Expand Down
7 changes: 7 additions & 0 deletions Makefile.shared
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,13 @@ flexlink.opt:
mv flexlink.exe flexlink.opt && \
mv flexlink flexlink.exe

# Installation of the *.ml sources of compiler-libs
.PHONY: install-compiler-sources
install-compiler-sources:
cp utils/*.ml parsing/*.ml typing/*.ml bytecomp/*.ml driver/*.ml \
toplevel/*.ml middle_end/*.ml middle_end/base_types/*.ml \
asmcomp/*.ml $(INSTALL_COMPLIBDIR)

# Run all tests

.PHONY: tests
Expand Down

0 comments on commit 9ce2095

Please sign in to comment.