File: rules

package info (click to toggle)
zypper 1.14.94-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 28,464 kB
  • sloc: cpp: 27,415; sh: 718; perl: 133; xml: 109; python: 39; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/default.mk
include /usr/share/debhelper/dh_package_notes/package-notes.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DENABLE_BUILD_TESTS=ON \
		-DLIB=lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) \
		-DCMAKE_VERBOSE_MAKEFILE=ON

execute_after_dh_auto_install:
	rm -f $(CURDIR)/debian/tmp/usr/bin/apt*
	rm -f $(CURDIR)/debian/tmp/usr/bin/installation_sources

override_dh_auto_test:
	dh_auto_test --no-parallel