File: rules

package info (click to toggle)
anjuta 2%3A3.22.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 71,416 kB
  • sloc: ansic: 207,381; sh: 54,646; cpp: 11,461; makefile: 3,523; yacc: 2,821; perl: 2,092; lex: 1,546; xml: 904; python: 149; sql: 99; java: 10
file content (30 lines) | stat: -rwxr-xr-x 772 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

-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,--as-needed

LIB_PKG := $(shell sed -nr 's/^Package:[[:space:]]*(libanjuta[-0-9]+)[[:space:]]*$$/\1/p' debian/control)
SHVER := 2:3.2.0

%:
	dh $@ --with gir,gnome

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-glade-catalog

override_dh_makeshlibs:
	dh_makeshlibs -V '$(LIB_PKG) (>= $(SHVER))'

override_dh_install:
	rm -f debian/tmp/usr/share/doc/anjuta/INSTALL
	rm -f debian/tmp/usr/share/doc/anjuta/COPYING
	rm -f debian/tmp/usr/share/doc/anjuta/ChangeLog
	dh_install -X.la --list-missing

override_dh_strip:
	dh_strip --dbgsym-migration='anjuta-dbg (<< 2:3.22.0-1~)'