File: rules

package info (click to toggle)
eclib 20221012-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,348 kB
  • sloc: cpp: 48,495; makefile: 259; sh: 127
file content (23 lines) | stat: -rwxr-xr-x 514 bytes parent folder | download | duplicates (3)
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

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-boost=no --with-ntl --disable-allprogs --disable-static

override_dh_installchangelogs:
	dh_installchangelogs -XChangeLog

override_dh_auto_install:
	dh_auto_install
	find debian/ -name "*.la" -delete

# Upstream doesn't make sure the tests pass on i386 anymore
ifneq (,$(filter i386,$(DEB_HOST_ARCH_CPU)))
override_dh_auto_test:
endif