/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: 2008-09-19 00:00:51 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080919000051-tgm5erxuj0zhs867
* debian/mandos-client.README.Debian: Document "eth0" default and how
                                      to change it.

* debian/mandos-client.postrm (update_initramfs): Use "type" instead
                                                  of "which".

* plugin-runner.c (handle_sigchld, print_out_password): Declared
                                                        static.

* plugin-runner.xml (SYNOPSIS, OPTIONS): Changed "VAR" to "ENV" in the
                                         "--global-env" option to be
                                         consistent with the
                                         "--env-for" option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
# build-arch and build-indep targets  by Bill Allombert 2001
11
11
 
12
12
# Uncomment this to turn on verbose mode.
13
 
#export DH_VERBOSE=1
 
13
export DH_VERBOSE=1
14
14
 
15
15
# This has to be exported to make some magic below work.
16
16
export DH_OPTIONS
18
18
configure: configure-stamp
19
19
configure-stamp:
20
20
        dh_testdir
 
21
# Add here commands to configure the package.
21
22
        touch configure-stamp
22
23
 
 
24
#Architecture
23
25
build: build-arch build-indep
24
26
 
25
27
build-arch: build-arch-stamp
26
28
build-arch-stamp: configure-stamp
 
29
# Add here commands to compile the arch part of the package.
27
30
        dh_auto_build -- all doc
28
31
        touch $@
29
32
 
30
33
build-indep: build-indep-stamp
31
34
build-indep-stamp: configure-stamp
 
35
# Add here commands to compile the indep part of the package.
32
36
        dh_auto_build -- doc
33
37
        touch $@
34
38
 
36
40
        dh_testdir
37
41
        dh_testroot
38
42
        rm -f build-arch-stamp build-indep-stamp configure-stamp
 
43
# Add here commands to clean up after the build process.
39
44
        dh_auto_clean
40
45
        dh_clean
41
 
        debconf-updatepo
42
46
 
43
47
install: install-indep install-arch
44
48
install-indep:
46
50
        dh_testroot
47
51
        dh_prep
48
52
        dh_installdirs --indep
 
53
# Add here commands to install the indep part of the package into
 
54
# debian/<package>-doc.
49
55
        $(MAKE) DESTDIR=$(CURDIR)/debian/mandos install-server
50
56
        dh_lintian
51
57
        dh_installinit --onlyscripts --no-start
56
62
        dh_testroot
57
63
        dh_prep
58
64
        dh_installdirs --same-arch
 
65
 
 
66
# Add here commands to install the arch part of the package into
 
67
# debian/tmp.
59
68
        $(MAKE) DESTDIR=$(CURDIR)/debian/mandos-client install-client-nokey
60
69
        dh_lintian
61
70
        dh_install --same-arch
62
71
 
 
72
# Must not depend on anything. This is to be called by
 
73
# binary-arch/binary-indep
 
74
# in another 'make' thread.
63
75
binary-common:
64
76
        dh_testdir
65
77
        dh_testroot
66
78
        dh_installchangelogs
67
79
        dh_installdocs
68
 
        dh_installdebconf
 
80
#       dh_installexamples
 
81
#       dh_installmenu
 
82
#       dh_installdebconf
 
83
#       dh_installlogrotate
 
84
#       dh_installemacsen
 
85
#       dh_installpam
 
86
#       dh_installmime
 
87
#       dh_pycentral
 
88
#       dh_installinit
 
89
#       dh_installcron
 
90
#       dh_installinfo
 
91
#       dh_installman
69
92
        dh_link
70
93
        dh_strip
71
94
        dh_compress
72
95
        dh_fixperms --exclude etc/keys/mandos \
73
96
                --exclude etc/mandos/clients.conf \
74
97
                --exclude usr/lib/mandos/plugins.d
 
98
#       dh_perl
 
99
        dh_makeshlibs
75
100
        dh_installdeb
76
101
        dh_shlibdeps
77
102
        dh_gencontrol
78
103
        dh_md5sums
79
104
        dh_builddeb
80
 
 
81
105
# Build architecture independant packages using the common target.
82
106
binary-indep: build-indep install-indep
83
107
        $(MAKE) -f debian/rules DH_OPTIONS=--indep binary-common