File: rules

package info (click to toggle)
pth 2.0.7-20
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 6,268 kB
  • ctags: 913
  • sloc: sh: 9,612; ansic: 8,517; makefile: 1,100; perl: 112
file content (25 lines) | stat: -rwxr-xr-x 495 bytes parent folder | download
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
#!/usr/bin/make -f
# -*- makefile-gmake -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

#Disable longjmp sanity checks in glibc for m68k
ifeq ($(DEB_HOST_ARCH),m68k)
	CFLAGS += -D_FORTIFY_SOURCE=0
endif

%:
	dh $@ --with quilt

override_dh_auto_clean:
	dh_auto_clean
	rm -f config.sub config.guess

override_dh_auto_configure:
	ln -sf /usr/share/misc/config.sub .
	ln -sf /usr/share/misc/config.guess .
	dh_auto_configure

override_dh_strip:
	dh_strip --dbg-package=pth-dbg