Skip to content

Commit

Permalink
Fix a9537c9: install wasmer-headless
Browse files Browse the repository at this point in the history
  • Loading branch information
jcaesar committed Feb 25, 2021
1 parent 637351c commit 53c4d4f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ $(info --------------)
$(info )
$(info )


############
# Building #
############
Expand Down Expand Up @@ -672,8 +673,9 @@ install-wasmer:

install-capi-headers:
for header in lib/c-api/*.{h,hh}; do install -Dm644 "$$header" $(DESTDIR)/include/$$(basename $$header); done
install -Dm644 lib/c-api/doc/deprecated/index.md $(DESTDIR)/include/wasmer-README.md
install -Dm644 lib/c-api/README.md $(DESTDIR)/include/wasmer-README.md

# Currently implemented for linux only. TODO
install-capi-lib:
pkgver=$$(target/release/wasmer --version | cut -d\ -f2) && \
shortver="$${pkgver%.*}" && \
Expand All @@ -694,7 +696,7 @@ install-pkgconfig:
target/release/wasmer config --pkg-config | install -Dm644 /dev/stdin "$(DESTDIR)"/lib/pkgconfig/wasmer.pc

install-wasmer-headless-minimal:
install -Dm755 target/release/wasmer $(DESTDIR)/bin/wasmer-headless
install -Dm755 target/release/wasmer-headless $(DESTDIR)/bin/wasmer-headless

#################
# Miscellaneous #
Expand Down

0 comments on commit 53c4d4f

Please sign in to comment.