File: rules

package info (click to toggle)
libgit2-glib 0.99.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,692 kB
  • sloc: ansic: 17,155; python: 1,989; makefile: 21; sh: 7
file content (31 lines) | stat: -rwxr-xr-x 660 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
31
#!/usr/bin/make -f

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

%:
	dh $@ --with gir,gnome

override_dh_auto_configure:
	dh_auto_configure -- \
            -Dgtk_doc=true

override_dh_makeshlibs:
	dh_makeshlibs -- -c4

override_dh_compress:
	dh_compress --exclude=.c

override_dh_strip:
	dh_strip --dbgsym-migration='libgit2-glib-1.0-dbg (<< 0.26.0)'

override_dh_missing:
	dh_missing --fail-missing

# Workaround for #935817
export HOME=$(CURDIR)/debian/temp-home
unexport XDG_CACHE_HOME
unexport XDG_CONFIG_DIRS
unexport XDG_CONFIG_HOME
unexport XDG_DATA_DIRS
unexport XDG_DATA_HOME