summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 8c23d00271255a79bb2d83d659cf8bd375c40138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)

%:
	dh ${@}

override_dh_auto_install:
	dh_auto_install -- DESTDIR=$(CURDIR)/debian/plzip

	# removing unused files
	rm -f debian/plzip/usr/share/info/dir*

ifeq ($(DEB_BUILD_ARCH),sparc)
override_dh_auto_test:
	# disabled, see #608642 for more information
endif

override_dh_builddeb:
	dh_builddeb -- -Zgzip -z9

override_dh_strip:
	dh_strip --dbg-package=plzip-dbg