| 1 | # See https://wiki.debian.org/PackagingWithGit#Packaging_with_Git |
| 2 | |
| 3 | [DEFAULT] |
| 4 | builder = DIST=sid ARCH=amd64 GIT_PBUILDER_AUTOCONF=/etc/pbuilderrc BUILDER=pbuilder git-pbuilder |
| 5 | cleaner = fakeroot debian/rules clean |
| 6 | # Create pristine-tar on import |
| 7 | pristine-tar = True |
| 8 | # Run lintian to check package after build |
| 9 | postbuild = lintian -EviIL +pedantic $GBP_CHANGES_FILE 2>&1 | tee ../lintian-full.log && \grep -E "^(E:|I:|W:|P:)" ../lintian-full.log | tee ../lintian-simple.log && echo "Lintian DONE" |
| 10 | debian-branch = debian/unstable |
| 11 | |
| 12 | [buildpackage] |
| 13 | export-dir = ../build-area/ |
| 14 | |
| 15 | [import-orig] |
| 16 | # Filter out unwanted files/dirs from upstream |
| 17 | filter = [ |
| 18 | '*egg.info', |
| 19 | '.bzr', |
| 20 | '.hg', |
| 21 | '.hgtags', |
| 22 | '.svn', |
| 23 | 'CVS', |
| 24 | '*/debian/*', |
| 25 | 'debian/*', |
| 26 | ] |
| 27 | # filter the files out of the tarball passed to pristine-tar |
| 28 | filter-pristine-tar = True |
| 29 | pristine-tar = True |
| 30 | |
| 31 | [import-dsc] |
| 32 | filter = [ |
| 33 | 'CVS', |
| 34 | '.cvsignore', |
| 35 | '.hg', |
| 36 | '.hgignore', |
| 37 | '.bzr', |
| 38 | '.bzrignore', |
| 39 | '.gitignore' |
| 40 | ] |
| 41 | |
| 42 | [dch] |
| 43 | # ignore merge commit messages |
| 44 | git-log = --no-merges |