/ fetchx / debian / rules
Swadhin Biswas feat: add multi-platform packaging and CI automation · 3/7/2026
492a637
15 lines · 565 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

%:
	dh $@ --with=systemd

override_dh_auto_build:
	cargo build --release --locked

override_dh_auto_install:
	install -Dm755 target/release/fetchx debian/fetchx/usr/bin/fetchx
	install -Dm644 debian/fetchx.desktop debian/fetchx/usr/share/applications/fetchx.desktop
	install -Dm644 debian/fetchx.bash-completion debian/fetchx/usr/share/bash-completion/completions/fetchx
	install -Dm644 debian/fetchx.zsh-completion debian/fetchx/usr/share/zsh/vendor-completions/_fetchx
	install -Dm644 debian/fetchx.1 debian/fetchx/usr/share/man/man1/fetchx.1