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:
26
debian/rules
vendored
Executable file
26
debian/rules
vendored
Executable 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)
|
Reference in New Issue
Block a user