Skip to content

Commit

Permalink
trim binary package
Browse files Browse the repository at this point in the history
  • Loading branch information
mtzguido committed Oct 3, 2024
1 parent b386b15 commit 6141005
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,23 +116,13 @@ save:
INSTALL_EXEC := install
install_dir = cd $(1) && find . -type f -exec $(INSTALL_EXEC) -m 644 -D {} $(PREFIX)/$(2)/{} \;

.PHONY: install-sides
install-sides:
@# Then the examples (those now work from any F* installation flavor, sources, binary package or opam)
@# ucontrib is needed by examples/crypto
$(call install_dir,examples,share/fstar/examples)
$(call install_dir,ucontrib,share/fstar/contrib)
@# Then the tutorial????

.PHONY: install
install: stage2
if [ -z "$(PREFIX)" ]; then echo "PREFIX not set" >&2; false; fi
@# Install the binary and the binary library
cd stage2 && dune install --profile=release --prefix=$(PREFIX)
@# Then the standard library sources and checked files
+$(MAKE) -C $(FSTAR_HOME)/ulib install
@# Then the rest
+$(MAKE) install-sides

.PHONY: package
package:
Expand Down

0 comments on commit 6141005

Please sign in to comment.