/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

* Makefile (DOCBOOKTOMAN, DOCBOOKTOHTML, common.ent, mandos,
            mandos-keygen, mandos-ctl, mandos.lsm): Add $(strip) to
                                                    make commands
                                                    easier to read
                                                    when run.
           (plugins.d/mandos-client): Use $(LINK.c) to compile in the
                                      same way as the other programs -
                                      i.e. not via an object file.

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
ifneq (,$(findstring :$(DEB_HOST_ARCH):,:mips:mipsel:))
 
19
  BROKEN_PIE := yes
 
20
  export BROKEN_PIE
 
21
endif
 
22
ifneq (,$(findstring :$(DEB_BUILD_ARCH):,:mips:mipsel:))
 
23
  BROKEN_PIE := yes
 
24
  export BROKEN_PIE
 
25
endif
 
26
 
18
27
configure: configure-stamp
19
28
configure-stamp:
20
29
        dh_testdir
38
47
        rm -f build-arch-stamp build-indep-stamp configure-stamp
39
48
        dh_auto_clean
40
49
        dh_clean
41
 
        debconf-updatepo
42
50
 
43
51
install: install-indep install-arch
44
52
install-indep:
48
56
        dh_installdirs --indep
49
57
        $(MAKE) DESTDIR=$(CURDIR)/debian/mandos install-server
50
58
        dh_lintian
51
 
        dh_installinit --onlyscripts --no-start \
 
59
        dh_installinit --onlyscripts \
52
60
                --update-rcd-params="defaults 25 15"
53
61
        dh_install --indep
54
62
 
66
74
        dh_testroot
67
75
        dh_installchangelogs
68
76
        dh_installdocs
69
 
        dh_installdebconf
70
77
        dh_link
71
78
        dh_strip
72
79
        dh_compress
73
80
        dh_fixperms --exclude etc/keys/mandos \
74
81
                --exclude etc/mandos/clients.conf \
 
82
                --exclude etc/mandos/plugins.d \
75
83
                --exclude usr/lib/mandos/plugins.d
76
84
        dh_installdeb
77
85
        dh_shlibdeps