Update rules

This commit is contained in:
ferrreo 2023-06-10 22:07:52 +01:00 committed by GitHub
parent 5acfed29eb
commit 0fa537fbf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
debian/rules vendored
View File

@ -56,6 +56,9 @@ srcdir = $(shell debian/scripts/get_pwd.sh)
## Note : overrides must be places above %: ## Note : overrides must be places above %:
## So here's a few examples: ## So here's a few examples:
override_dh_auto_build:
cd hyprland-share-picker && make all && cd ..
## overriding dh_clean to make it not delete rust vendor files: ## overriding dh_clean to make it not delete rust vendor files:
#override_dh_clean: #override_dh_clean:
# echo "disabled" # echo "disabled"
@ -67,7 +70,6 @@ srcdir = $(shell debian/scripts/get_pwd.sh)
## overriding dh_install to install files to a package: ## overriding dh_install to install files to a package:
override_dh_install: override_dh_install:
install -d $(pkgdir)/usr/bin install -d $(pkgdir)/usr/bin
cd hyprland-share-picker && make all && cd ..
cp $(srcdir)/hyprland-share-picker/build/hyprland-share-picker $(pkgdir)/usr/bin cp $(srcdir)/hyprland-share-picker/build/hyprland-share-picker $(pkgdir)/usr/bin
## === End end of region === ## === End end of region ===