summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-10-01 14:09:46 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-10-01 14:09:50 +0100
commit9ec656a37df103edc111e8e48cdfe89528dfe92e (patch)
tree982fdbb5f7e64282a9593c4abe3a6e09e7fedc7a /Makefile
parent161fee1d8236978eca44efdbede8015763533482 (diff)
makefile: make binaries 755 instead of 711
fixes #3466
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index b980d561..07187d73 100644
--- a/Makefile
+++ b/Makefile
@@ -3,22 +3,22 @@ PREFIX = /usr/local
legacyrenderer:
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DLEGACY_RENDERER:BOOL=true -S . -B ./build -G Ninja
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
- chmod 711 ./build/Hyprland
+ chmod 755 ./build/Hyprland
legacyrendererdebug:
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DLEGACY_RENDERER:BOOL=true -S . -B ./build -G Ninja
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
- chmod 711 ./build/Hyprland
+ chmod 755 ./build/Hyprland
release:
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -S . -B ./build -G Ninja
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
- chmod 711 ./build/Hyprland
+ chmod 755 ./build/Hyprland
debug:
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -S . -B ./build -G Ninja
cmake --build ./build --config Debug --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
- chmod 711 ./build/Hyprland
+ chmod 755 ./build/Hyprland
clear:
rm -rf build
@@ -43,14 +43,14 @@ install:
chmod -R 777 subprojects/wlroots
$(MAKE) release
$(MAKE) -C hyprctl all
- chmod 711 ./hyprctl/hyprctl
+ chmod 755 ./hyprctl/hyprctl
mkdir -p ${PREFIX}/share/wayland-sessions
mkdir -p ${PREFIX}/bin
cp -f ./build/Hyprland ${PREFIX}/bin
cp -f ./hyprctl/hyprctl ${PREFIX}/bin
- chmod 711 ${PREFIX}/bin/Hyprland
- chmod 711 ${PREFIX}/bin/hyprctl
+ chmod 755 ${PREFIX}/bin/Hyprland
+ chmod 755 ${PREFIX}/bin/hyprctl
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