/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-03 00:12:35 UTC
  • Revision ID: teddy@fukt.bsnet.se-20091103001235-op9jfvtx6xvxch3h
* README (FAQ): Fix typo.
* mandos (main): Try to always do cleanup() before exit, since
                 otherwise the D-Bus bus name gets unregistered first.

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