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 35 36 37
|
#!/usr/bin/make -f
CONFIGURE_EXTRA_FLAGS = \
--libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/nemo \
--disable-silent-rules \
--disable-update-mimedb \
--enable-gtk-doc \
$(NULL)
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@ --with autoreconf,python2,gir --parallel
override_dh_autoreconf:
NOCONFIGURE=yes dh_autoreconf --as-needed -- ./autogen.sh
override_dh_auto_configure:
dh_auto_configure -- $(CONFIGURE_EXTRA_FLAGS)
override_dh_auto_test:
# Disable auto tests
override_dh_strip:
dh_strip --dbgsym-migration='nemo-dbg (<< 3.0.1-1~)' || dh_strip
override_dh_makeshlibs:
dh_makeshlibs -Xusr/lib/nemo/extensions-3.0/
override_dh_python2:
dh_python2 -p nemo-data /usr/share/nemo
override_dh_install:
dh_install --list-missing
override_dh_installmime:
dh_installmime -pnemo-data
|