adjusting to include full install
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user