File: rules

package info (click to toggle)
openipmi 2.0.37-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,100 kB
  • sloc: ansic: 140,279; python: 8,801; sh: 5,723; perl: 5,394; makefile: 490
file content (28 lines) | stat: -rwxr-xr-x 670 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
28
#!/usr/bin/make -f

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

include /usr/share/dpkg/architecture.mk

DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --with autoreconf

override_dh_auto_clean:
	dh_auto_clean
	rm -f swig/python/openipmigui/Makefile
	rm -f config.sub config.guess

override_dh_auto_configure:
	dh_auto_configure -- --with-openssl --with-python=no --disable-rpath

override_dh_auto_install:
	dh_auto_install
	chrpath -d debian/tmp/usr/lib/*/libOpenIPMIposix.so.*.*

override_dh_installinit:
	dh_installinit -p openipmi --name openipmi --no-start -- defaults 21 20