File: rules

package info (click to toggle)
fplll 5.5.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 10,984 kB
  • sloc: cpp: 21,104; javascript: 1,284; sh: 1,050; makefile: 198; perl: 46; python: 42
file content (26 lines) | stat: -rwxr-xr-x 638 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
24
25
26
#!/usr/bin/make -f

# Workaround for RC bug #947718
# I worked on it on abel.debian.org, a porterbox
# for which I thank:
# - ARM Ltd for hosting
# - Marvell Technology Group Ltd for the hardware
ifneq (,$(findstring $(DEB_HOST_ARCH),armel mipsel m68k powerpc sh4))
export DEB_LDFLAGS_MAINT_APPEND=-latomic
endif

export DEB_CPPFLAGS_MAINT_APPEND= -D_LARGEFILE_SOURCE
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_build:
	make -j2 # make -j8 is too much for J.Puydt's box

override_dh_install:
	dh_install
	find debian -name "*.la" -type f -delete

override_dh_installchangelogs:
	dh_installchangelogs NEWS