adjusting to include full install

This commit is contained in:
talksik
2024-01-27 12:15:37 -08:00
parent fc2b7be765
commit 168350fdb6
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -13,6 +13,8 @@ capi: default
./build capi ./build capi
install: install:
cp uSockets/uSockets.a "$(DESTDIR)$(prefix)/lib"
cp uSockets/src/libusockets.h "$(DESTDIR)$(prefix)/include"
mkdir -p "$(DESTDIR)$(prefix)/include/uWebSockets" mkdir -p "$(DESTDIR)$(prefix)/include/uWebSockets"
cp -r src/* "$(DESTDIR)$(prefix)/include/uWebSockets" cp -r src/* "$(DESTDIR)$(prefix)/include/uWebSockets"
+7
View File
@@ -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. 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 ## User manual
### uWS::App & uWS::SSLApp ### uWS::App & uWS::SSLApp