add pristine-tar
Jonas Smedegaard
dr at jones.dk
Wed May 26 22:25:36 UTC 2010
On Wed, May 26, 2010 at 05:24:09PM -0400, Felipe Sateler wrote:
>On Wed, May 26, 2010 at 17:12, Reinhard Tartler <siretart at tauware.de> wrote:
>> On Mi, Mai 26, 2010 at 22:05:58 (CEST), Dmitrijs Ledkovs wrote:
>>
>>> ifneq (,$(wildcard .git/*))
>>> dh_quilt_unpatch
>>> endif
>>
>> Not 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20100527/13afdb64/attachment.pgp>
More information about the pkg-multimedia-maintainers
mailing list