aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorJan Beich <[email protected]>2024-01-05 17:57:24 +0100
committerMihai Fufezan <[email protected]>2024-01-05 19:22:43 +0200
commit7e033e48ace5406a9bc442f7d403f9ce3af193f3 (patch)
tree7152ba2e9ce41a1e1c8b99c91c8598b16c1028bf /Makefile
parentd8dbdc4a017e051b3dde2e93791e2495722bfa21 (diff)
downloadHyprland-7e033e48ace5406a9bc442f7d403f9ce3af193f3.tar.gz
Hyprland-7e033e48ace5406a9bc442f7d403f9ce3af193f3.zip
make: unbreak with non-GNU ln(1) after 78f9ba9fdd7e
ln -s -r -f /usr/local/bin/Hyprland /usr/local/bin/hyprland ln: illegal option -- r usage: ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file [target_file] ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file ... target_dir link source_file target_file *** Error code 1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ecfb30f1..e3224970 100644
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@ install:
chmod 755 ${PREFIX}/bin/Hyprland
chmod 755 ${PREFIX}/bin/hyprctl
chmod 755 ${PREFIX}/bin/hyprpm
- ln -s -r -f ${PREFIX}/bin/Hyprland ${PREFIX}/bin/hyprland
+ cd ${PREFIX}/bin && ln -sf Hyprland hyprland
if [ ! -f ${PREFIX}/share/wayland-sessions/hyprland.desktop ]; then cp ./example/hyprland.desktop ${PREFIX}/share/wayland-sessions; fi
mkdir -p ${PREFIX}/share/hyprland
cp ./assets/wall_* ${PREFIX}/share/hyprland