Mike Gabriel pushed to branch master at Debian and Ubuntu MATE Packaging Team / plank
Commits:
-
a93edfa2
by Mike Gabriel at 2024-03-26T22:18:35+01:00
-
d95fd3bd
by Mike Gabriel at 2024-03-26T22:21:19+01:00
2 changed files:
Changes:
1 | +plank (0.11.89-6) unstable; urgency=medium
|
|
2 | + |
|
3 | + * debian/rules:
|
|
4 | + + Don't build doc package on arch:any builds. (Closes: ##1067773).
|
|
5 | + |
|
6 | + -- Mike Gabriel <sunweaver@debian.org> Tue, 26 Mar 2024 22:18:40 +0100
|
|
7 | + |
|
1 | 8 | plank (0.11.89-5) unstable; urgency=medium
|
2 | 9 | |
3 | 10 | * debian/control:
|
... | ... | @@ -6,6 +6,16 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
6 | 6 | DPKG_EXPORT_BUILDFLAGS = 1
|
7 | 7 | include /usr/share/dpkg/buildflags.mk
|
8 | 8 | |
9 | +built_binaries := $(shell dh_listpackages)
|
|
10 | + |
|
11 | +configure_options := --enable-headless-tests
|
|
12 | + |
|
13 | +ifneq ($(filter %-doc,$(built_binaries)),)
|
|
14 | +configure_options += --enable-docs
|
|
15 | +else
|
|
16 | +configure_options += --disable-docs
|
|
17 | +endif
|
|
18 | + |
|
9 | 19 | override_dh_install:
|
10 | 20 | find debian/tmp -name *.la -delete
|
11 | 21 | find debian/tmp -name *.a -delete
|
... | ... | @@ -18,10 +28,8 @@ override_dh_missing: |
18 | 28 | dh_missing --fail-missing
|
19 | 29 | |
20 | 30 | override_dh_auto_configure:
|
21 | - dh_auto_configure -- \
|
|
22 | - --enable-docs \
|
|
23 | - --enable-headless-tests \
|
|
24 | - $(NULL)
|
|
31 | + dh_auto_configure -- $(configure_options)
|
|
32 | + $(NULL)
|
|
25 | 33 | |
26 | 34 | override_dh_auto_test:
|
27 | 35 | dh_auto_test || true
|