File: rules

package info (click to toggle)
fastforward 1:0.51-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 740 kB
  • sloc: ansic: 4,706; makefile: 478; sh: 138
file content (22 lines) | stat: -rwxr-xr-x 557 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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/default.mk
export CFLAGS  += $(shell getconf LFS_CFLAGS)
export LDFLAGS += $(shell getconf LFS_LDFLAGS)

%:
	dh $@

override_dh_auto_configure:
	echo $(CC) $(CFLAGS) $(CPPFLAGS) > conf-cc
	echo $(CC) $(LDFLAGS)            > conf-ld
	echo /var/lib/qmail              > conf-qmail

# Do not use upstream build system, install via debhelper.
override_dh_auto_install:
override_dh_auto_test:

override_dh_installman:
	cp -f newaliases.1 qmail-newaliases.1
	dh_installman