mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Fixes to deb build specifically for OBS
This commit is contained in:
13
debian/rules
vendored
13
debian/rules
vendored
@@ -7,6 +7,9 @@ CLEAN ?= 1
|
||||
dh $@ --with=systemd
|
||||
|
||||
override_dh_auto_build:
|
||||
cp ../SOURCES/vendor.tar.xz ./
|
||||
mkdir .cargo
|
||||
cp ../SOURCES/cargo-config .cargo/config
|
||||
env CARGO_HOME="$$(pwd)/target/cargo" \
|
||||
dh_auto_build
|
||||
|
||||
@@ -14,8 +17,8 @@ override_dh_auto_clean:
|
||||
ifeq ($(CLEAN),1)
|
||||
make clean
|
||||
endif
|
||||
ifeq ($(VENDORED),1)
|
||||
if ! ischroot; then \
|
||||
make vendor; \
|
||||
fi
|
||||
endif
|
||||
#ifeq ($(VENDORED),1)
|
||||
# if ! ischroot; then \
|
||||
# make vendor; \
|
||||
# fi
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user