summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 6356e68ac1064fa35b7a2aa9d032c7466ed4ff24 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@  --with autotools-dev --with systemd

override_dh_auto_configure:
	$(CURDIR)/beforeconf.sh 
	dh_auto_configure 

override_dh_autoreconf:
	dh_autoreconf --exclude=mkinstalldirs

override_dh_installchangelogs:
	dh_installchangelogs ChangeLog

override_dh_installman:
	dh_installman doc/iseltime.8
	dh_installman

override_dh_installinit:
	dh_installinit --name=ipmi_port
	dh_installinit --name=ipmi_info
	dh_installinit --name=ipmiutil_asy
	dh_installinit --name=ipmiutil_evt
	dh_installinit --name=ipmiutil_wdt

#
# remove unwanted files from upstream
#
override_dh_auto_clean:
	dh_auto_clean
	rm -f $(CURDIR)/debian/files
	rm -f $(CURDIR)/debian/dirs
	rm -f $(CURDIR)/debian/ipmiutil.lintian-overrides
	rm -f $(CURDIR)/debian/ipmiutil.substvars