File: rules

package info (click to toggle)
faketime 0.9.6-7
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 424 kB
  • ctags: 344
  • sloc: ansic: 2,047; sh: 381; makefile: 99; pascal: 21
file content (22 lines) | stat: -rwxr-xr-x 743 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
#!/usr/bin/make -f

# why -Wno-nonnull-compare:
# GCC 6 includes a warning for checking if a variable nonnull if it's
# been tagged that passing a NULL value creates undefined behavior.
# faketime triggers this in its stat wrapper, which itself should
# itself have undefined behavior around NULL pointers.  But this
# doesn't make sense for an LD_PRELOAD hack.
# 
# See https://bugs.debian.org/811610 for more details.
export DEB_CFLAGS_MAINT_APPEND=-DMULTI_ARCH -Wno-nonnull-compare

# make sure dh_makeshlibs does not modify post{inst,rm} scripts:
# (avoids lintian's postinst-has-useless-call-to-ldconfig)
override_dh_makeshlibs:
	dh_makeshlibs --noscripts

override_dh_installchangelogs:
	dh_installchangelogs NEWS

%:
	PREFIX=/usr dh $@