File: rules

package info (click to toggle)
gedit 48.1-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,636 kB
  • sloc: ansic: 47,496; python: 649; xml: 536; objc: 446; makefile: 205; sh: 62
file content (27 lines) | stat: -rwxr-xr-x 682 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

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

# needed with the Ubuntu toolchain to avoid plugin issues
export DEB_LDFLAGS_MAINT_STRIP := -Wl,-Bsymbolic-functions

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -Dgtk_doc=true

override_dh_girepository:
	dh_girepository	-ldebian/tmp/usr/share/gedit/gir-1.0 \
		/usr/lib/$(DEB_HOST_MULTIARCH)/gedit/girepository-1.0 \
		/usr/lib/$(DEB_HOST_MULTIARCH)/gedit

override_dh_shlibdeps:
	dh_shlibdeps -l/usr/lib/$(DEB_HOST_MULTIARCH)/gedit

override_dh_makeshlibs:
	dh_makeshlibs --no-scripts

override_dh_gnome_clean:
	dh_gnome_clean --no-control