Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/rustc/architecture.mk
4
5 export DEB_HOST_RUST_TYPEscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/DEB_HOST_RUST_TYPE. DEB_HOST_GNU_TYPE
6 export PATHscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/PATH. := /usr/share/cargo/bin:$(PATHscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/PATH.)
7 export CARGOscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/CARGO.=/usr/share/cargo/bin/cargo
8 export CARGO_HOMEscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/CARGO_HOME.=$(CURDIRscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/CURDIR.)/debian/cargo_home
9 export DEB_CARGO_CRATEscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/DEB_CARGO_CRATE.=$(DEB_SOURCEscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/DEB_SOURCE.)_$(DEB_VERSION_UPSTREAMscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/DEB_VERSION_UPSTREAM.)
10 export DEB_BUILD_MAINT_OPTIONSscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/DEB_BUILD_MAINT_OPTIONS.=hardening=+bindnow
11
12 %scip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/`%`().:
13 dh $@ --without single-binary
14
15 execute_after_dh_auto_cleanscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/execute_after_dh_auto_clean().:
16 rm -rf debian/cargo_registry
17
18 override_dh_auto_configurescip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/override_dh_auto_configure().:
19 $(CARGOscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/CARGO.) prepare-debian debian/cargo_registry --link-from-system
20 rm -f Cargo.lock
21 dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). -- -Dhost_arch="$(DEB_HOST_RUST_TYPEscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/DEB_HOST_RUST_TYPE.)"
22
23 # without timeout multiplier, buildd for riscv hit the timeout
24 override_dh_auto_testscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/override_dh_auto_test().:
25 xvfb-run -a dh_auto_testscip-debian debian debhelper . dh_auto_test(). -- --timeout-multiplier 5
26
27 # Generate (Static-)Built-Using
28 # Symlink the meson target dir to target/$(DEB_HOST_RUST_TYPE)/release
29 # since dh-cargo-built-using expects it there
30 execute_after_dh_auto_installscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/execute_after_dh_auto_install().:
31 mkdir -p $(CURDIRscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/CURDIR.)/target/$(DEB_HOST_RUST_TYPEscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/DEB_HOST_RUST_TYPE.)/
32 ln -s $(CURDIRscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/CURDIR.)/obj-$(DEB_HOST_GNU_TYPEscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/DEB_HOST_GNU_TYPE.)/podcasts-gtk/src/$(DEB_HOST_RUST_TYPEscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/DEB_HOST_RUST_TYPE.)/release target/$(DEB_HOST_RUST_TYPEscip-debian debian gnome-podcasts 25.3+dfsg-3 gnome-podcasts/rules/DEB_HOST_RUST_TYPE.)/
33 /usr/share/cargo/bin/dh-cargo-built-using gnome-podcasts