From aed1f66becbaa3002cc1ecbdad6c1ac0f3d59ea6 Mon Sep 17 00:00:00 2001 From: pastalian <28638872+pastalian@users.noreply.github.com> Date: Tue, 29 Aug 2023 00:21:01 +0900 Subject: [PATCH] makefile: fix build failure with some PREFIX (#3099) Most systems does not have xdg-desktop-portal directory other than /usr/share. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 3c8811ad..d32c4ec1 100644 --- a/Makefile +++ b/Makefile @@ -53,6 +53,7 @@ install: mkdir -p ${PREFIX}/include/hyprland/protocols mkdir -p ${PREFIX}/include/hyprland/wlroots mkdir -p ${PREFIX}/share/pkgconfig + mkdir -p ${PREFIX}/share/xdg-desktop-portal find src -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland cd subprojects/wlroots/include && find . -name '*.h*' -print0 | cpio --quiet -0dump ${PREFIX}/include/hyprland/wlroots && cd ../../..