File: rules

package info (click to toggle)
ugrep 3.11.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,196 kB
  • sloc: cpp: 50,724; ansic: 1,267; sh: 1,237; makefile: 107; xml: 6; java: 6
file content (29 lines) | stat: -rwxr-xr-x 537 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

CONFIGURE_FLAGS += --disable-avx

ifeq ($(DEB_HOST_ARCH),i386)
CONFIGURE_FLAGS += --disable-sse2
endif

ifeq ($(DEB_HOST_ARCH),armhf)
CONFIGURE_FLAGS += --disable-neon
endif

%:
	dh $@

override_dh_clean:
	rm -rf bin/
	dh_clean

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_FLAGS)

licensecheck:
	licensecheck --deb-machine -r * \
		> debian/copyright_newhints
	cmp debian/copyright_hints debian/copyright_newhints \
		&& rm debian/copyright_newhints