~ubuntu-branches/debian/squeeze/util-linux/squeeze

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2010-12-24 14:52:10 UTC
  • Revision ID: james.westby@ubuntu.com-20101224145210-evxsffwgbtv9a2lh
Tags: 2.17.2-5
Merge in all those NMUs that were never pushed to me in bugs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
        AM_OPTS=--copy ./autogen.sh
49
49
        rm -rf autom4te.cache
50
50
 
 
51
newtemplate:
 
52
        debconf-updatepo
 
53
 
 
54
msgstats:
 
55
        @cd debian/po && for i in *.po; do x=$$(msgfmt --statistics $$i 2>&1); echo $$i $$x; done; rm -f messages.mo *.po~
 
56
 
 
57
msg-email:
 
58
        @podebconf-report-po
 
59
 
51
60
clean-preunpatch: 
52
61
        dh_testdir
53
62
        dh_testroot
66
75
        dh_installdirs
67
76
        $(MAKE) install DESTDIR=`pwd`/debian/util-linux INSTALL_STRIP_FLAG=""
68
77
        dh_installdocs -i -s
69
 
        install -m 644 login-utils/README.modems-with-agetty debian/util-linux/usr/share/doc/util-linux/README.modems-with-getty
 
78
        install -m 644 login-utils/README.modems-with-agetty debian/util-linux/usr/share/doc/util-linux/README.modems-with-agetty
70
79
        dh_installexamples -i -s
71
80
        dh_installmenu -i -s
72
81
        dh_installcron -i -s
150
159
endif
151
160
endif
152
161
ifneq ($(DEB_HOST_ARCH_OS),hurd)
153
 
        cd debian/util-linux/sbin ; mv agetty getty
154
 
        cd debian/util-linux/usr/share/man/man8 ; mv agetty.8 getty.8
155
 
        perl -pi.bak -e 's/agetty/getty/g' debian/util-linux/usr/share/man/man8/getty.8 \
156
 
                  debian/util-linux/usr/share/doc/util-linux/README.*
157
 
        rm `find debian/util-linux/usr -name \*.bak`
 
162
        cd debian/util-linux/sbin ; ln agetty getty
 
163
        cd debian/util-linux/usr/share/man/man8 ; ln agetty.8 getty.8
158
164
endif
159
165
ifneq ($(DEB_HOST_ARCH_OS),linux)
160
166
        cd debian/util-linux/sbin ; mv mkswap mkswap.linux
170
176
binary-indep: build install
171
177
        dh_testdir -i
172
178
        dh_testroot -i
 
179
        dh_lintian -i
 
180
        dh_installdebconf
173
181
        dh_installdeb -i
174
182
        dh_gencontrol -i -- -VUpstream=$(Upstream)
175
183
        dh_md5sums -i
179
187
binary-arch: build install
180
188
        dh_testdir -s
181
189
        dh_testroot -s
 
190
        dh_lintian -s
182
191
        dh_installinit -s -- defaults 15 85
183
192
        [ -n "$(STRIP)" ] || dh_strip -s
184
193
        dh_makeshlibs -s