a4e0a0b3f8
Passing to the later only affects source packages. Bug: https://github.com/dart-lang/sdk/issues/26953 Change-Id: I3ca94c3ddbed4493536d3db52df6ec92c2e72bbf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/431302 Reviewed-by: Brian Quinlan <bquinlan@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
42 lines
818 B
Makefile
Executable File
42 lines
818 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
export DH_VERBOSE = 1
|
|
|
|
%:
|
|
dh $@
|
|
|
|
# Nop
|
|
override_dh_auto_clean:
|
|
|
|
# Nop
|
|
override_dh_auto_configure:
|
|
|
|
# Nop
|
|
override_dh_auto_build:
|
|
|
|
# Nop
|
|
override_dh_auto_test:
|
|
|
|
# Explicitly choose xz compression because newer versions dpkg-buildpackage
|
|
# (on our bots) default to zstd, which is not supported by older versions
|
|
# of dpkg (on users machines).
|
|
override_dh_builddeb:
|
|
dh_builddeb -- -Zxz
|
|
|
|
# Nop
|
|
override_dh_strip:
|
|
|
|
# Nop
|
|
override_dh_strip_nondeterminism:
|
|
|
|
# This override allows us to ignore spurious missing library errors when
|
|
# cross-compiling.
|
|
override_dh_shlibdeps:
|
|
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info -l "${LIB_DIR}"
|
|
|
|
override_dh_auto_install:
|
|
mkdir -p debian/tmp/out
|
|
cp -R ../dart-sdk debian/tmp/out
|
|
mv debian/tmp/out/dart-sdk debian/tmp/out/dart
|
|
dh_install
|
|
dh_link
|