File: rules

package info (click to toggle)
i8kutils 1.45
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 200 kB
  • sloc: ansic: 413; tcl: 271; sh: 97; xml: 32; makefile: 23
file content (17 lines) | stat: -rwxr-xr-x 405 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)

override_dh_auto_build:
	dh_auto_build -- CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"

override_dh_installinit:
	dh_installinit --name=i8kmon

override_dh_installsystemd:
	dh_installsystemd --name=i8kmon

%:
	dh $@