From 4a88fcc4d3cc657b0489044e3ba2e8ff9d1a1404 Mon Sep 17 00:00:00 2001 From: TheOnePath Date: Tue, 18 Jun 2024 23:20:22 +0100 Subject: [PATCH] Updated Makefile Added submodule command for libxcb-errors. Changed make recipe back to '-C' instead of '-f'. Made Hyprland recursive. --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8f39f71..abaf555 100644 --- a/Makefile +++ b/Makefile @@ -91,6 +91,7 @@ $(__Libxcb-errors): @echo "Building and install library libxcb-errors..." @[[ -z "$(ls -A libxcb-errors)" ]] && $(MAKE) libxcb-errors cd libxcb-errors && { \ + git submodule update --init ; \ /bin/sh autogen.sh ; \ /bin/sh configure --prefix=/usr ; \ make && sudo make install ; } @@ -106,7 +107,7 @@ __Hyprland = Hyprland/build $(__Hyprland): $(__Hyperlang) $(__Hypercursor) $(__Hyprwayland-scanner) \ $(__Libxcb-error) @[[ -z "$(ls -A Hyprland)" ]] && $(MAKE) Hyprland - $(MAKE) -f Hyprland/Makefile all + sudo $(MAKE) -C Hyprland all # Build hyprlock if it's not installed on the system .PHONY : hyprlock @@ -125,7 +126,7 @@ $(__Hyprlock): $(__Hyprlang) .PHONY : hyprpaper hyprpaper: git submodule init - git submodule update --remote hyprpaper + git submodule update --init --recursive --remote hyprpaper __Hyprpaper = hyprpaper/build $(__Hyprpaper): $(__Hyprlang) @[[ -z "$(ls -A hyprpaper)" ]] && $(MAKE) hyprpaper