File: rules

package info (click to toggle)
plzip 0.9-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 324 kB
  • sloc: cpp: 1,708; sh: 205; makefile: 94
file content (23 lines) | stat: -rwxr-xr-x 448 bytes parent folder | download
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 -- -Zxz -z9

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