bscreensaver/debian/rules
Brian J. Tarricone df81c14871 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.
2022-05-14 00:17:50 -07:00

27 lines
440 B
Makefile
Executable File

#!/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)