Add debian packaging files

This doesn't quite work, since the debuild stuff refuses to see the
rustup-installed cargo/rustc, which is required for our build.
This commit is contained in:
2022-05-11 22:37:38 -07:00
parent 712467f433
commit df81c14871
9 changed files with 152 additions and 9 deletions

26
debian/rules vendored Executable file
View File

@ -0,0 +1,26 @@
#!/usr/bin/make -f
RUST_RELEASE_CHANNEL = nightly
MAKE_ARGS = \
RUST_RELEASE_CHANNEL=$(RUST_RELEASE_CHANNEL) \
PREFIX=/usr \
SYSCONFDIR=/etc \
DESTDIR=debian/bscreensaver
%:
dh $@
override_dh_auto_clean:
@echo "HOME=$$HOME"
@echo "PATH=$$PATH"
ls $$HOME/.rustup
ls $$HOME/.cargo
dh_auto_clean -- $(MAKE_ARGS)
override_dh_auto_build:
dh_auto_build -- $(MAKE_ARGS)
override_dh_auto_install:
dh_auto_install -- $(MAKE_ARGS)