summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 2b92688f4b0f49eb6cfcee700db0d0d07337882c (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 ${@}

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

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

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

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

override_dh_builddeb:
	dh_builddeb -- -Zgzip -z9