File: rules

package info (click to toggle)
nautilus-python 1.2.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,084 kB
  • sloc: sh: 4,177; xml: 1,728; ansic: 729; python: 169; makefile: 137
file content (30 lines) | stat: -rwxr-xr-x 716 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
27
28
29
30
#! /usr/bin/make -f

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

%:
	dh $@ --with gnome,python3

override_dh_auto_configure:
	PYTHON_VERSION="$(shell py3versions -vd)" \
	PYTHON="$(shell py3versions -d)" \
		dh_auto_configure

override_dh_auto_build:
	PYTHON_VERSION="$(shell py3versions -vd)" \
	PYTHON="$(shell py3versions -d)" \
		dh_auto_build

override_dh_gnome:
	dh_gnome --no-gnome-versions

override_dh_install:
	dh_install
	rm -f debian/python3-nautilus/usr/lib/*/nautilus/extensions-3.0/*.la

override_dh_installexamples:
	dh_installexamples -A examples/*.py examples/README

override_dh_makeshlibs:
	dh_makeshlibs -ppython3-nautilus --no-act