mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
22 lines
291 B
Makefile
22 lines
291 B
Makefile
#!/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
|