/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to debian/rules

* dbus-mandos.conf: New; to be copied to
                    "/etc/dbus-1/system.d/mandos.conf".

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# This has to be exported to make some magic below work.
16
16
export DH_OPTIONS
17
17
 
 
18
# -pie is broken on the mips and mipsel architectures, see
 
19
# <http://bugs.debian.org/526961>
 
20
ifneq (,$(findstring :$(DEB_HOST_ARCH):,:mips:mipsel:))
 
21
  BROKEN_PIE := yes
 
22
  export BROKEN_PIE
 
23
endif
 
24
ifneq (,$(findstring :$(DEB_BUILD_ARCH):,:mips:mipsel:))
 
25
  BROKEN_PIE := yes
 
26
  export BROKEN_PIE
 
27
endif
 
28
 
18
29
configure: configure-stamp
19
30
configure-stamp:
20
31
        dh_testdir
38
49
        rm -f build-arch-stamp build-indep-stamp configure-stamp
39
50
        dh_auto_clean
40
51
        dh_clean
41
 
        debconf-updatepo
42
52
 
43
53
install: install-indep install-arch
44
54
install-indep:
48
58
        dh_installdirs --indep
49
59
        $(MAKE) DESTDIR=$(CURDIR)/debian/mandos install-server
50
60
        dh_lintian
51
 
        dh_installinit --onlyscripts --no-start \
 
61
        dh_installinit --onlyscripts \
52
62
                --update-rcd-params="defaults 25 15"
53
63
        dh_install --indep
54
64
 
66
76
        dh_testroot
67
77
        dh_installchangelogs
68
78
        dh_installdocs
69
 
        dh_installdebconf
70
79
        dh_link
71
80
        dh_strip
72
81
        dh_compress
73
82
        dh_fixperms --exclude etc/keys/mandos \
74
83
                --exclude etc/mandos/clients.conf \
 
84
                --exclude etc/mandos/plugins.d \
75
85
                --exclude usr/lib/mandos/plugins.d
76
86
        dh_installdeb
77
87
        dh_shlibdeps