File: rules

package info (click to toggle)
eog-plugins 3.26.5-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,572 kB
  • sloc: sh: 4,847; ansic: 4,566; python: 591; makefile: 422; sed: 16; xml: 14
file content (26 lines) | stat: -rwxr-xr-x 559 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,--as-needed

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-plugins=all \
		--enable-python

override_dh_install:
	find debian/tmp -name '*.la' -print -delete
	find debian/tmp -name '__pycache__' | xargs -r rm -rf
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_python3:
	dh_python3 --no-ext-rename /usr/lib/$(DEB_HOST_MULTIARCH)/eog/plugins