File: rules

package info (click to toggle)
edac-utils 0.18%2Bgit12-gd98769e-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,440 kB
  • sloc: sh: 8,410; ansic: 1,802; perl: 476; makefile: 69
file content (26 lines) | stat: -rwxr-xr-x 672 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
21
22
23
24
25
26
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/autoreconf.mk

DEB_CONFIGURE_USER_FLAGS=--disable-rpath

INIT_SCRIPT=debian/edac-utils.edac.init

$(INIT_SCRIPT): build
	cp debian/tmp/etc/init.d/edac $@

install/edac-utils:: $(INIT_SCRIPT) 
	chrpath -d debian/tmp/usr/bin/edac-util

clean::
	-rm -f $(INIT_SCRIPT)

DEB_DH_INSTALL_SOURCEDIR:=debian/tmp
DEB_DH_INSTALLINIT_ARGS:=--name=edac -- defaults 50

# Add here any variable or target overrides you need.
debian/control:: debian/control.in
	sed -e "/#include \"description.in\"/r debian/description.in" -e "/#.*/d" $^ >| $@