Updated Makefile

Added build target for libxcb-errors library to build Hyprland
This commit is contained in:
Ethan Smith-Coss 2024-06-18 22:57:15 +01:00
parent 37cfc8218b
commit bd8110a77a
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -82,6 +82,18 @@ $(__Hyprwayland-scanner):
@echo "Installing library hyprwayland-scanner..."
sudo $(CMAKE) --install ./hyprwayland-scanner/build
## :@TODO: install libxcb-errors
.PHONY : libxcb-errors
libxcb-errors:
git clone https://gitlab.freedesktop.org/xorg/lib/libxcb-errors.git
__Libxcb-errors = /usr/include/xcb
$(__Libxcb-errors):
@echo "Building and install library libxcb-errors..."
@[[ -z "$(ls -A libxcb-errors)" ]] && $(MAKE) libxcb-errors
cd libxcb-errors && { \
/bin/sh autogen.sh ; \
/bin/sh configure --prefix=/usr ; \
make && sudo make install ; }
### Makefile targets for hyprwm apps ###