Update debian/rules

This commit is contained in:
ferreo 2024-09-01 22:46:41 +02:00
parent 77d1bff189
commit e53eb59beb

5
debian/rules vendored
View File

@ -1,13 +1,12 @@
#!/usr/bin/make -f
override_dh_auto_build:
dh_auto_build -- PREFIX=/usr all
dh_auto_build -- PREFIX=/usr all
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)
@ -16,7 +15,7 @@ override_dh_auto_install:
override_dh_clean:
# call clear target provided by Hyprland
make clear
dh_clean
dh_clean
%:
dh $@