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 32 33 34
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,--as-needed
export PYTHON=/usr/bin/python3
LIB_PKG := $(shell sed -nr 's/^Package:[[:space:]]*(libanjuta[-0-9]+)[[:space:]]*$$/\1/p' debian/control)
SHVER := 2:3.2.0
%:
dh $@
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
override_dh_missing:
dh_missing -X.la --list-missing
override_dh_strip:
dh_strip --dbgsym-migration='anjuta-dbg (<< 2:3.22.0-1~)'
|