aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorpastalian <[email protected]>2023-08-29 00:21:01 +0900
committerGitHub <[email protected]>2023-08-28 17:21:01 +0200
commitaed1f66becbaa3002cc1ecbdad6c1ac0f3d59ea6 (patch)
tree1217a39ed515bd0a6216d06eff43f1de88e03856 /Makefile
parent4a41d013a27c9919ed41a50c43c4224d8443a415 (diff)
downloadHyprland-aed1f66becbaa3002cc1ecbdad6c1ac0f3d59ea6.tar.gz
Hyprland-aed1f66becbaa3002cc1ecbdad6c1ac0f3d59ea6.zip
makefile: fix build failure with some PREFIX (#3099)
Most systems does not have xdg-desktop-portal directory other than /usr/share.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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 ../../..