Skip to content

Commit

Permalink
adjusting to include full install
Browse files Browse the repository at this point in the history
  • Loading branch information
talksik committed Jan 27, 2024
1 parent fc2b7be commit 168350f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ capi: default
./build capi

install:
cp uSockets/uSockets.a "$(DESTDIR)$(prefix)/lib"
cp uSockets/src/libusockets.h "$(DESTDIR)$(prefix)/include"
mkdir -p "$(DESTDIR)$(prefix)/include/uWebSockets"
cp -r src/* "$(DESTDIR)$(prefix)/include/uWebSockets"

Expand Down
7 changes: 7 additions & 0 deletions misc/READMORE.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ There are a few compilation flags for µSockets (see its documentation), but com

You can use the Makefile on Linux and macOS. It is simple to use and builds the examples for you. `WITH_OPENSSL=1 make` builds all examples with SSL enabled. Examples will fail to listen if cert and key cannot be found, so make sure to specify a path that works for you.

### Steps
```sh
git clone --resurse-submodules https://github.com/uNetworking/uWebSockets
make # prepend variables if desired such as `WITH_OPENSSL` as mentioned above
make install
```

## User manual

### uWS::App & uWS::SSLApp
Expand Down

0 comments on commit 168350f

Please sign in to comment.