File: rules

package info (click to toggle)
pccts 1.33MR33-6.6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,960 kB
  • sloc: ansic: 45,982; cpp: 3,234; makefile: 900
file content (22 lines) | stat: -rwxr-xr-x 506 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

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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export DEB_CPPFLAGS_MAINT_APPEND = -Wno-error=incompatible-pointer-types -Wno-error=strict-prototypes -Wno-error=int-conversion

%:
	dh $@

export COPT=-O2 -Wall -Wno-unused -g -std=gnu17
#ifneq ($(findstring debug,$(DEB_BUILD_OPTIONS)),)
#COPT+=-g
#endif
#
include /usr/share/dpkg/buildtools.mk


override_dh_installchangelogs:
	dh_installchangelogs -k CHANGES_FROM_133.txt