aboutsummaryrefslogtreecommitdiffhomepage
path: root/debian/gbp.conf
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-04-16 08:49:09 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-04-16 09:32:46 -0700
commit2608bfe95f2c29ba568fa14904087882373971bc (patch)
treef0c0a1c372823da76bdc13cab9a2b8593fda00d7 /debian/gbp.conf
parent4906f6b9aec7947d609fe9127898e6a94dafd874 (diff)
debian: Add a gbp.conf to start using git-buildpackage
On Bdale Garbee's recommendation I'm switching from gitpkg, (which constructed a source tree but still required me to go run debuild), to git-buildpackage. I hadn't originally used git-buildpackage because it didn't seem to work without a configuration file, (where gitpkg was fine). Bdale was kind enough to point me to his fw/altos source at git.gag.com where I found an example gpb.conf file as well as a target in debian/rules to automatically update debian/changelog with the new version number.
Diffstat (limited to 'debian/gbp.conf')
-rw-r--r--debian/gbp.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 00000000..4c8ce7ff
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,16 @@
+# Configuration file for git-buildpackage
+
+[DEFAULT]
+cleaner = debian/rules prebuild && debuild clean
+
+# The default branch for upstream sources
+upstream-branch = master
+
+# The default branch for the debian patch (no patch in our case)
+debian-branch = master
+
+# Directory for performing the build
+export-dir = ./debian-build
+
+# Format for the debian tag
+debian-tag = debian-%(version)s