File: rules

package info (click to toggle)
rasdaemon 0.8.4-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 2,832 kB
  • sloc: ansic: 17,870; sh: 4,983; perl: 2,383; makefile: 212
file content (20 lines) | stat: -rwxr-xr-x 495 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f
#export DH_VERBOSE = 1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

%:
	dh $@ --with autoreconf

# removed --enable-arm as it is experimental and does not compile
override_dh_auto_configure:
	dh_auto_configure -- \
	--enable-all \
	--with-sysconfdefdir=/etc/default

override_dh_install:
	dh_install
	dh_installsystemd --name=rasdaemon rasdaemon.service
	dh_installsystemd --name=ras-mc-ctl ras-mc-ctl.service
	rm -rf $(CURDIR)/debian/rasdaemon/usr/include