mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 05:05:58 +01:00
added make commands
This commit is contained in:
parent
c32917a5ba
commit
3b827a14b6
3 changed files with 20 additions and 1 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -15,4 +15,6 @@ build/
|
||||||
*.o
|
*.o
|
||||||
*-protocol.c
|
*-protocol.c
|
||||||
*-protocol.h
|
*-protocol.h
|
||||||
.ccls-cache
|
.ccls-cache
|
||||||
|
|
||||||
|
hyprctl/hyprctl
|
12
Makefile
12
Makefile
|
@ -50,5 +50,17 @@ debug:
|
||||||
clear:
|
clear:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
rm -f *.o *-protocol.h *-protocol.c
|
rm -f *.o *-protocol.h *-protocol.c
|
||||||
|
rm -f ./hyprctl/hyprctl
|
||||||
|
|
||||||
|
all:
|
||||||
|
make config
|
||||||
|
make release
|
||||||
|
cd ./hyprctl && make all && cd ..
|
||||||
|
|
||||||
|
install:
|
||||||
|
make all
|
||||||
|
sudo cp ./example/hyprland.desktop /usr/share/wayland-sessions/
|
||||||
|
sudo cp ./build/Hyprland /usr/bin
|
||||||
|
sudo cp ./hyprctl/hyprctl /usr/bin
|
||||||
|
|
||||||
config: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o idle-protocol.o
|
config: xdg-shell-protocol.o wlr-layer-shell-unstable-v1-protocol.o idle-protocol.o
|
||||||
|
|
5
example/hyprland.desktop
Normal file
5
example/hyprland.desktop
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=Hyprland
|
||||||
|
Comment=An intelligent dynamic tiling Wayland compositor
|
||||||
|
Exec=Hyprland
|
||||||
|
Type=Application
|
Loading…
Reference in a new issue