debian: document a better way to build packaging

This commit is contained in:
Travis Cross 2012-05-24 16:36:31 +00:00
parent 1050a2a9f9
commit 879a798ef3
1 changed files with 12 additions and 3 deletions

15
debian/README.source vendored
View File

@ -48,8 +48,17 @@ The format of debian/modules.conf is:
To build this package, I recommend running the following from the root
directory of your FS git working tree:
distro=sid
ver="$(cat build/next-release.txt | sed -e 's/-/~/g')~n$(date +%Y%m%dT%H%M%SZ)-1~${distro}+1"
git clean -fdx && git reset --hard HEAD
(cd debian && ./bootstrap.sh)
schedtool -B -e git-buildpackage --git-verbose -us -uc
./build/set-fs-version.sh "$ver"
git add configure.in && git commit -m "bump to custom v$ver"
(cd debian && ./bootstrap.sh -c $distro)
dch -b -m -v "$ver" --force-distribution -D "$suite" "Custom build."
git-buildpackage -b -us -uc \
--git-verbose \
--git-pbuilder --git-dist=$distro \
--git-compression-level=1v --git-compression=xz
git reset --hard HEAD^
-- Travis Cross <tc@traviscross.com>, Thu, 24 May 2012 16:28:46 +0000
-- Travis Cross <tc@traviscross.com>, Thu, 24 May 2012 16:35:57 +0000