Mercurial > dropbear
comparison debian/implicit @ 511:582cb38e4eb5 insecure-nocrypto
propagate from branch 'au.asn.ucc.matt.dropbear' (head cdcc3c729e29544e8b98a408e2dc60e4483dfd2a)
to branch 'au.asn.ucc.matt.dropbear.insecure-nocrypto' (head 0ca38a1cf349f7426ac9de34ebe4c3e3735effab)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 06 Nov 2008 13:16:55 +0000 |
parents | 1857c2c551ea |
children |
comparison
equal
deleted
inserted
replaced
361:461c4b1fb35f | 511:582cb38e4eb5 |
---|---|
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' |