mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Cut new release with debian builds
This commit is contained in:
21
debian/rules
vendored
Normal file
21
debian/rules
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
export VENDORED ?= 1
|
||||
CLEAN ?= 1
|
||||
|
||||
%:
|
||||
dh $@ --with=systemd
|
||||
|
||||
override_dh_auto_build:
|
||||
env CARGO_HOME="$$(pwd)/target/cargo" \
|
||||
dh_auto_build
|
||||
|
||||
override_dh_auto_clean:
|
||||
ifeq ($(CLEAN),1)
|
||||
make clean
|
||||
endif
|
||||
ifeq ($(VENDORED),1)
|
||||
if ! ischroot; then \
|
||||
make vendor; \
|
||||
fi
|
||||
endif
|
||||
Reference in New Issue
Block a user