diff options
author | Matt Johnston <matt@ucc.asn.au> | 2005-07-08 13:27:28 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2005-07-08 13:27:28 +0000 |
commit | 03731c723bda295a6f6ee8346d622ea45d796563 (patch) | |
tree | 006d63ab3052d25afbf9ba126668ba99a9991e1f /debian/implicit | |
parent | e903109d9f91f014ceb5ffa2918440d4d12acd61 (diff) |
* patch up to date with debian 0.45-3 diff
--HG--
extra : convert_revision : d0935a5d91dac334274693f8d9cd7ae6fd8c2c31
Diffstat (limited to 'debian/implicit')
-rw-r--r-- | debian/implicit | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/debian/implicit b/debian/implicit index d28b629..57a444a 100644 --- a/debian/implicit +++ b/debian/implicit @@ -1,4 +1,4 @@ -# $Id: implicit,v 1.1 2004/06/16 05:08:32 matt Exp $ +# $Id: implicit,v 1.10 2004/07/03 15:20:00 pape Exp $ .PHONY: deb-checkdir deb-checkuid @@ -12,6 +12,10 @@ deb-checkuid: $*.deb-docs-docs $*.deb-docs-examples $*.deb-DEBIAN \ $*.deb-DEBIAN-dir $*.deb-DEBIAN-scripts $*.deb-DEBIAN-md5sums +%.udeb: %.deb-DEBIAN + @rm -f $*.deb $*.deb-checkdir $*.deb-DEBIAN $*.deb-DEBIAN-dir \ + $*.deb-DEBIAN-scripts $*.deb-DEBIAN-md5sums + %.deb-checkdir: @test -d debian/$* || sh -cx '! : directory debian/$* missing' @test "`id -u`" -eq 0 || sh -cx '! : need root privileges' @@ -29,6 +33,8 @@ deb-checkuid: @test -r debian/$*/usr/share/doc/$*/changelog || \ sh -cx 'mv debian/$*/usr/share/doc/$*/changelog.Debian \ debian/$*/usr/share/doc/$*/changelog' + @test -s debian/$*/usr/share/doc/$*/changelog || \ + sh -cx 'rm -f debian/$*/usr/share/doc/$*/changelog' @gzip -9 debian/$*/usr/share/doc/$*/changelog* %.deb-docs-docs: @for i in `cat debian/$*.docs 2>/dev/null || :`; do \ @@ -58,13 +64,13 @@ deb-checkuid: @rm -rf debian/$*/DEBIAN : debian/$*/DEBIAN/ @install -d -m0755 debian/$*/DEBIAN - @for i in conffiles shlibs; do \ + @for i in conffiles shlibs templates; do \ test ! -r debian/$*.$$i || \ sh -cx "install -m0644 debian/$*.$$i debian/$*/DEBIAN/$$i" \ || exit 1; \ done %.deb-DEBIAN-scripts: - @for i in preinst prerm postinst postrm; do \ + @for i in preinst prerm postinst postrm config; do \ test ! -r debian/$*.$$i || \ sh -cx "install -m0755 debian/$*.$$i debian/$*/DEBIAN/$$i" \ || exit 1; \ |