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 41 42 43 44
|
#!/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
dh_auto_build -D python
override_dh_auto_clean:
dh_auto_clean -D wdmd
dh_auto_clean -D src
dh_auto_clean -D python
override_dh_auto_configure:
dh_auto_configure -D wdmd
dh_auto_configure -D src
dh_auto_configure -D python
override_dh_auto_install:
dh_auto_install -D wdmd
dh_auto_install -D src
dh_auto_install -D python
override_dh_makeshlibs:
dh_makeshlibs -X/usr/lib/sanlock
override_dh_auto_test:
dh_auto_test -D wdmd
dh_auto_test -D src
dh_auto_test -D python
override_dh_installinit:
dh_installinit -psanlock --name=wdmd --no-restart-on-upgrade --no-start
install -m 0755 init.d/wdmd debian/sanlock/lib/systemd/systemd-wdmd
dh_installinit -psanlock --name=sanlock --no-restart-on-upgrade
%:
dh $@ --with=python2,systemd
|