File: rules

package info (click to toggle)
s390-tools 2.35.0-3
  • links: PTS
  • area: main
  • in suites: sid
  • size: 12,248 kB
  • sloc: ansic: 184,236; sh: 12,152; cpp: 4,954; makefile: 2,763; perl: 2,519; asm: 1,085; python: 697; xml: 29
file content (24 lines) | stat: -rwxr-xr-x 507 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
#!/usr/bin/make -f

export DEB_CPPFLAGS_MAINT_APPEND = -D_GNU_SOURCE
export DEB_CPPFLAGS_LDFLAGS_APPEND = -rdynamic
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
export HAVE_CARGO=0

%:
	dh $@

override_dh_auto_clean:
	rm -f zipl/boot/.*.d iucvterm/doc/iucvtty.8
	dh_auto_clean

override_dh_auto_build:
	make V=1

override_dh_auto_install:
	make install DESTDIR=$(CURDIR)/debian/tmp
	dh_install

override_dh_fixperms:
	chmod 0644 $(CURDIR)/debian/s390-tools/usr/lib/s390-tools/stage3.bin
	dh_fixperms