NF: provide debian/rules build-standalone

This commit is contained in:
Yaroslav Halchenko 2015-04-20 11:29:32 -04:00 committed by Joey Hess
parent 38e03d5b3a
commit bfef0ba69f
3 changed files with 35 additions and 9 deletions

13
debian/rules vendored
View file

@ -7,3 +7,16 @@ export RELEASE_BUILD=1
%:
dh $@
#
# Rules for providing a standalone build of annex.
#
build-standalone:
[ -e .git ]
git checkout debian/changelog
quilt pop -a || :
QUILT_SERIES=series.standalone-build quilt push -a
debian/create-standalone-changelog
dpkg-buildpackage -rfakeroot
quilt pop -a