On Wed, May 26, 2010 at 05:24:09PM -0400, Felipe Sateler wrote:
On Wed, May 26, 2010 at 17:12, Reinhard Tartler <siret...@tauware.de> wrote:On Mi, Mai 26, 2010 at 22:05:58 (CEST), Dmitrijs Ledkovs wrote:ifneq (,$(wildcard .git/*)) dh_quilt_unpatch endifNot bad, but how about in a single line? ,---- | test -d .git && dh_quilt_unpatch `----This will make 'make' fail when not on a git repository.
Yeah - tests should be composed so that _failure_ triggers alternative action:
test ! -d .git || dh_quilt_unpatch - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: Digital signature
_______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers