Override d/rules install to pass web root along
This commit is contained in:
8
debian/rules
vendored
8
debian/rules
vendored
@@ -20,11 +20,14 @@ CARGO_REGISTRY=$(CURDIR)/debian/cargo_registry
|
|||||||
export DEB_CARGO_CRATE=$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM)
|
export DEB_CARGO_CRATE=$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM)
|
||||||
export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
||||||
|
|
||||||
|
WEBROOT=/usr/share/boids/
|
||||||
|
export WEBROOT
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@
|
dh $@
|
||||||
|
|
||||||
execute_after_dh_auto_clean:
|
execute_after_dh_auto_clean:
|
||||||
$(CARGO) clean
|
# $(CARGO) clean
|
||||||
rm -rf $(CARGO_HOME)
|
rm -rf $(CARGO_HOME)
|
||||||
rm -rf $(CARGO_REGISTRY)
|
rm -rf $(CARGO_REGISTRY)
|
||||||
rm -f debian/cargo-checksum.json
|
rm -f debian/cargo-checksum.json
|
||||||
@@ -40,3 +43,6 @@ override_dh_auto_configure:
|
|||||||
override_dh_auto_test:
|
override_dh_auto_test:
|
||||||
# No tests. Can't execute a WASM binary
|
# No tests. Can't execute a WASM binary
|
||||||
echo "Skipping tests, can't run WASM files"
|
echo "Skipping tests, can't run WASM files"
|
||||||
|
|
||||||
|
override_dh_auto_install:
|
||||||
|
dh_auto_install WEBROOT=$(WEBROOT)
|
||||||
|
|||||||
Reference in New Issue
Block a user