45
51
install -D -o root -g root -m 644 dbus/landscape.conf $(root_dir)/etc/dbus-1/system.d/landscape.conf
46
52
install -D -o root -g root -m 755 debian/landscape-sysinfo.wrapper $(root_dir)/usr/share/landscape/landscape-sysinfo.wrapper
53
install -D -o root -g root -m 644 debian/cloud-default.conf $(root_dir)/usr/share/landscape/cloud-default.conf
54
install -D -o root -g root -m 755 smart-update/smart-update $(root_dir)/usr/lib/landscape/smart-update
54
binary-indep: build install
59
binary-arch: build install
55
60
# That's not present in Ubuntu releases we still support, so
56
61
# we're just installing the lintian overrides file by hand
62
67
dh_installman -p landscape-client man/landscape-client.1 man/landscape-config.1 man/landscape-message.1
63
68
dh_installchangelogs
64
69
dh_install --sourcedir debian/tmp/
65
dh_installinit -- start 25 2 3 4 5 . stop 15 1 .
70
dh_installinit -- start 45 2 3 4 5 . stop 15 1 .
66
71
dh_installlogrotate
76
ifneq (,$(findstring $(dist_release),"intrepid jaunty"))
77
# We want update-motd in intrepid and jaunty
78
echo "extra:Depends=update-motd" >> debian/landscape-common.substvars
80
ifneq (,$(findstring $(dist_release),"karmic"))
81
# We want libpam-modules in karmic
82
echo "extra:Depends=libpam-modules (>= 1.0.1-9ubuntu3)" >> debian/landscape-common.substvars
72
85
ifeq ($(use_pycentral),yes)
73
ifneq (,$(py_setup_install_args))
86
ifneq (,$(py_setup_install_args))
74
87
DH_PYCENTRAL=include-links dh_pycentral
76
89
DH_PYCENTRAL=nomove dh_pycentral