~ubuntu-branches/ubuntu/gutsy/elvis/gutsy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Kapil Hari Paranjape
  • Date: 2006-10-09 18:14:59 UTC
  • mfrom: (3.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20061009181459-wnduyt2mtbhtjukq
Tags: 2.2.0-8
* debian/control: Replaced Source-Version with source:Version
  to make the package binNMU-safe.
* debian/patches: Incorporate patch from Martin Dietze. Elvis 
  no longer exits with error status if there is a subdirectory
  called "tags".

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
patch:
28
28
        dh_testdir
29
 
        grep '^\w' debian/patches/APPLY | while read -r i; do \
30
 
            patch -p0 <debian/patches/"$$i"; \
31
 
        done
 
29
 
 
30
        QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
 
31
 
32
32
        touch patch
33
33
 
34
34
unpatch:
35
35
        dh_testdir
36
 
        -[ -f patch ] && grep '^\w' debian/patches/APPLY | tac | while read -r i; do \
37
 
            patch -p0 -R <debian/patches/"$$i"; \
38
 
        done
 
36
 
 
37
        QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
 
38
 
 
39
        rm -rf .pc
39
40
        rm -f patch
40
41
 
41
42
build: patch