rules 785 Bytes
Newer Older
1 2
#!/usr/bin/make -f

3 4
DHFLAGS=--parallel

5 6 7 8
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

9
%:
10
	dh $@ $(DHFLAGS)
11 12 13 14

override_dh_install:
	rm -rfv debian/tmp/usr/lib/*/caja-sendto/plugins/*.la
	rm -rfv debian/tmp/usr/lib/*/caja/extensions-2.0/*.la
15
	dh_install --fail-missing
16

17 18 19
override_dh_installchangelogs:
	dh_installchangelogs NEWS

20
override_dh_auto_configure:
21 22
	# upstream tarball is without configure. autogen.sh will create it
	NOCONFIGURE=1 ./autogen.sh
23
	dh_auto_configure $(DHFLAGS) -- \
24
		--disable-silent-rules \
25
		--enable-gtk-doc
26 27

override_dh_strip:
28
	dh_strip --dbgsym-migration='caja-extensions-dbg (<< 1.14.0-2~)'
29 30 31

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..