File: rules

package info (click to toggle)
sanlock 2.2-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 1,124 kB
  • ctags: 1,917
  • sloc: ansic: 12,971; python: 896; sh: 440; makefile: 227
file content (40 lines) | stat: -rwxr-xr-x 864 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
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/make -f

DEB_BUILDDIR := $(CURDIR)/debian/build

LD_LIBRARY_PATH := /usr/lib/sanlock:$(LD_LIBRARY_PATH)
#LD_LIBRARY_PATH=/usr/lib/sanlock:${LD_LIBRARY_PATH}
#LD_LIBRARY_PATH=/usr/lib/sanlock:$(LD_LIBRARY_PATH) dh_shlibdeps
#LD_LIBRARY_PATH := /usr/lib/sanlock

override_dh_auto_build:
	dh_auto_build -D wdmd
	dh_auto_build -D src

override_dh_auto_clean:
	dh_auto_clean -D wdmd
	dh_auto_clean -D src

override_dh_auto_configure:
	dh_auto_configure -D wdmd
	dh_auto_configure -D src

override_dh_auto_install:
	dh_auto_install -D wdmd
	dh_auto_install -D src

override_dh_makeshlibs:
	dh_makeshlibs -X/usr/lib/sanlock

override_dh_auto_test:
	dh_auto_test -D wdmd
	dh_auto_test -D src


override_dh_installinit:
	dh_installinit -psanlock --name=wdmd --no-restart-on-upgrade  
	dh_installinit -psanlock --name=sanlock --no-restart-on-upgrade 

%:
	dh $@