2023-06-10 17:37:56 +02:00
|
|
|
#!/usr/bin/make -f
|
2023-06-10 17:21:41 +02:00
|
|
|
|
2024-09-01 22:40:04 +02:00
|
|
|
override_dh_auto_build:
|
2024-09-01 22:46:41 +02:00
|
|
|
dh_auto_build -- PREFIX=/usr all
|
2024-09-01 22:42:29 +02:00
|
|
|
|
|
|
|
override_dh_auto_install:
|
|
|
|
# Fix permission on hyprland.pc (Hyprland sets 777 on everything in
|
|
|
|
# build/ directory)
|
|
|
|
chmod 644 build/hyprland.pc
|
|
|
|
# dh_auto_install auto detects the correct DESTDIR.
|
|
|
|
# Modify PREFIX so that this DESTDIR is actually taken into account.
|
|
|
|
# (Upstream Makefile supports PREFIX, but not DESTDIR)
|
|
|
|
dh_auto_install -- PREFIX='$${DESTDIR}/usr
|
2024-09-01 22:40:04 +02:00
|
|
|
|
|
|
|
override_dh_clean:
|
|
|
|
# call clear target provided by Hyprland
|
|
|
|
make clear
|
2024-09-01 22:46:41 +02:00
|
|
|
dh_clean
|
2024-09-01 22:40:04 +02:00
|
|
|
|
2023-06-10 17:21:41 +02:00
|
|
|
%:
|
2024-09-01 22:30:42 +02:00
|
|
|
dh $@
|