comparison debian/implicit @ 327:1857c2c551ea

Bring in changes from Debian 0.48.1-1
author Matt Johnston <matt@ucc.asn.au>
date Wed, 07 Jun 2006 16:04:14 +0000
parents 743fce568f49
children
comparison
equal deleted inserted replaced
326:d965110e3f5c 327:1857c2c551ea
1 # $Id: implicit,v 1.10 2004/07/03 15:20:00 pape Exp $ 1 # $Id: implicit,v 1.11 2005/11/29 21:57:55 pape Exp $
2 2
3 .PHONY: deb-checkdir deb-checkuid 3 .PHONY: deb-checkdir deb-checkuid
4 4
5 deb-checkdir: 5 deb-checkdir:
6 @test -e debian/control || sh -cx '! : wrong directory' 6 @test -e debian/control || sh -cx '! : wrong directory'
36 @test -s debian/$*/usr/share/doc/$*/changelog || \ 36 @test -s debian/$*/usr/share/doc/$*/changelog || \
37 sh -cx 'rm -f debian/$*/usr/share/doc/$*/changelog' 37 sh -cx 'rm -f debian/$*/usr/share/doc/$*/changelog'
38 @gzip -9 debian/$*/usr/share/doc/$*/changelog* 38 @gzip -9 debian/$*/usr/share/doc/$*/changelog*
39 %.deb-docs-docs: 39 %.deb-docs-docs:
40 @for i in `cat debian/$*.docs 2>/dev/null || :`; do \ 40 @for i in `cat debian/$*.docs 2>/dev/null || :`; do \
41 if test -d $$i; then \
42 sh -cx "install -d -m0755 debian/$*/usr/share/doc/$*/$${i##*/}" && \
43 for j in $$i/*; do \
44 sh -cx "install -m0644 $$j \
45 debian/$*/usr/share/doc/$*/$${i##*/}/" || exit 1; \
46 done || exit 1; \
47 continue; \
48 fi; \
41 sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/" || exit 1; \ 49 sh -cx "install -m0644 $$i debian/$*/usr/share/doc/$*/" || exit 1; \
42 done 50 done
43 @test ! -r debian/$*.README.Debian || \ 51 @test ! -r debian/$*.README.Debian || \
44 sh -cx 'install -m0644 debian/$*.README.Debian \ 52 sh -cx 'install -m0644 debian/$*.README.Debian \
45 debian/$*/usr/share/doc/$*/README.Debian' 53 debian/$*/usr/share/doc/$*/README.Debian'