Codebase list empathy / 73e35e9
Add gbp.conf (for git-buildpackage) and `debian/rules update-patches` target Simon McVittie 15 years ago
4 changed file(s) with 23 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
00 empathy (2.25.3-2) UNRELEASED; urgency=low
11
22 * Switch packaging to git
3 * Add gbp.conf (for git-buildpackage) and `debian/rules update-patches`
4 target
35
46 -- Simon McVittie <smcv@debian.org> Fri, 02 Jan 2009 21:33:26 +0000
57
0 [DEFAULT]
1 debian-branch = debian
2 upstream-branch = upstream
3 pristine-tar = True
4
5 [git-buildpackage]
6 tarball-dir = ../tarballs/
7 export-dir = ../build-area/
8 no-create-orig = True
2121
2222 binary-install/python-empathy::
2323 dh_pysupport -p$(cdbs_curpkg)
24
25 include $(CURDIR)/debian/update-patches.mk
0 update-patches:
1 mkdir -p $(CURDIR)/debian/patches
2 rm -f $(CURDIR)/debian/patches/*.patch
3 git-format-patch -o $(CURDIR)/debian/patches debian-patches ^upstream
4 for patch in $$(ls $(CURDIR)/debian/patches/*.patch) ; \
5 do \
6 lines=$$(cat $$patch | wc -l) ; \
7 head -n $$(($$lines - 3)) $$patch > $${patch}.chomped ; \
8 mv $${patch}.chomped $$patch ; \
9 done