File: rules

package info (click to toggle)
gnome-boxes 48.0-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 10,640 kB
  • sloc: python: 883; ansic: 802; sh: 487; xml: 327; makefile: 14
file content (19 lines) | stat: -rwxr-xr-x 622 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs

%:
	dh $@ --without=single-binary

override_dh_makeshlibs:
	dh_makeshlibs --no-scripts

execute_before_dh_installgsettings:
ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
	sed -i "s#URL#'https://git.launchpad.net/~ubuntu-desktop/gnome-boxes/plain/recommended-downloads.xml?h=questing'#g" \
		debian/gsettings-override
else
	sed -i "s#URL#'https://salsa.debian.org/gnome-team/gnome-boxes/-/raw/debian/trixie/debian/recommended-downloads.xml'#g" \
		debian/gsettings-override
endif