comparison debian/implicit @ 330:5488db2e9e4e

merge of 332f709a4cb39cde4cedab7c3be89e05f3023067 and ca4ca78b82c5d430c69ce01bf794e8886ce81431
author Matt Johnston <matt@ucc.asn.au>
date Sat, 10 Jun 2006 16:39:40 +0000
parents 1857c2c551ea
children
comparison
equal deleted inserted replaced
329:8ed0dce45126 330:5488db2e9e4e
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'