~ubuntu-branches/ubuntu/wily/telepathy-glib/wily

« back to all changes in this revision

Viewing changes to debian/update-patches.mk

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2009-03-24 22:06:52 UTC
  • mfrom: (1.3.1 upstream) (17.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20090324220652-c8dvom0nsqomp23d
Tags: 0.7.28-1
* New upstream version (ABI, API added)
* Put the -dbg package in section debug, as per recent archive changes
* Remove obsolete Conflicts/Replaces with libtelepathy-glib-static-dev, which
  was never in a stable release (and probably never in Debian at all)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
update-patches:
 
2
        mkdir -p $(CURDIR)/debian/patches
 
3
        rm -f $(CURDIR)/debian/patches/*.patch
 
4
        git-format-patch -o $(CURDIR)/debian/patches debian-patches ^upstream
 
5
        for patch in $$(ls $(CURDIR)/debian/patches/*.patch) ; \
 
6
        do \
 
7
                lines=$$(cat $$patch | wc -l) ; \
 
8
                head -n $$(($$lines - 3)) $$patch > $${patch}.chomped ; \
 
9
                        mv $${patch}.chomped $$patch ; \
 
10
        done