Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/default.mk
4 include /usr/share/rustc/architecture.mk
5
6 # broken symlinks after getting copied to under .pybuild
7 export PYBUILD_TEST_ARGS = -k "not test_unix_symlink and not test_unix_etc_timezone_dir"
8 export PYBUILD_NAME = pendulum
9
10 export DEB_HOST_RUST_TYPE DEB_HOST_GNU_TYPE
11 export CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
12
13 export CARGO=/usr/share/cargo/bin/cargo
14 export CARGO_HOME=$(CURDIR)/debian/cargo_home
15 export DEB_CARGO_CRATE=$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM)
16
17 %:
18 dh $@ --buildsystem=pybuild
19
20 execute_before_dh_auto_configure:
21 $(CARGO) prepare-debian debian/cargo_registry --link-from-system
22
23 execute_after_dh_install:
24 ln -sf rust/target target
25 /usr/share/cargo/bin/dh-cargo-built-using python3-pendulum