/mandos/trunk

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

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Teddy Hogeborn
  • Date: 2009-11-09 07:35:16 UTC
  • Revision ID: teddy@fukt.bsnet.se-20091109073516-v1vem352uz0vuwrd
* 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 \
 
62
                --update-rcd-params="defaults 25 15"
52
63
        dh_install --indep
53
64
 
54
65
install-arch:
65
76
        dh_testroot
66
77
        dh_installchangelogs
67
78
        dh_installdocs
68
 
        dh_installdebconf
69
79
        dh_link
70
80
        dh_strip
71
81
        dh_compress
72
82
        dh_fixperms --exclude etc/keys/mandos \
73
83
                --exclude etc/mandos/clients.conf \
 
84
                --exclude etc/mandos/plugins.d \
74
85
                --exclude usr/lib/mandos/plugins.d
75
86
        dh_installdeb
76
87
        dh_shlibdeps