File: rules

package info (click to toggle)
earlyoom 1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 296 kB
  • sloc: ansic: 916; sh: 94; makefile: 87; python: 84
file content (27 lines) | stat: -rwxr-xr-x 638 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
26
27
#!/usr/bin/make -f
#export DH_VERBOSE = 1


export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

include /usr/share/dpkg/pkg-info.mk


%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- VERSION=v$(DEB_VERSION_UPSTREAM)

override_dh_auto_install:
	dh_auto_install -- DESTDIR=debian/earlyoom PREFIX=/usr SYSTEMDUNITDIR=/lib/systemd/system
	+make install-initscript DESTDIR=debian/earlyoom PREFIX=/usr SYSTEMDUNITDIR=/lib/systemd/system

override_dh_installinit:
	dh_installinit --onlyscripts

override_dh_missing:
	dh_missing --fail-missing