2010-10-16 16:41:24 -04:00
|
|
|
#!/usr/bin/make -f
|
2012-09-28 15:57:55 -04:00
|
|
|
|
2014-09-26 15:08:41 -04:00
|
|
|
export CABAL=debian/cabal-wrapper
|
2013-03-29 11:37:25 -04:00
|
|
|
|
2013-04-10 16:53:04 -04:00
|
|
|
# Do use the changelog's version number, rather than making one up.
|
2013-05-10 18:52:35 -04:00
|
|
|
export RELEASE_BUILD=1
|
2013-04-10 16:53:04 -04:00
|
|
|
|
2010-10-16 16:41:24 -04:00
|
|
|
%:
|
|
|
|
dh $@
|
2015-04-20 11:29:32 -04:00
|
|
|
|
2015-04-20 14:55:30 -04:00
|
|
|
# Run this target to build git-annex-standalone.deb
|
2015-04-20 11:29:32 -04:00
|
|
|
build-standalone:
|
2015-04-20 14:55:30 -04:00
|
|
|
test -e .git
|
2015-04-20 11:29:32 -04:00
|
|
|
git checkout debian/changelog
|
2015-04-20 14:55:30 -04:00
|
|
|
quilt pop -a || true
|
2015-05-05 13:50:37 -04:00
|
|
|
QUILT_PATCHES=debian/patches QUILT_SERIES=series.standalone-build quilt push -a
|
2015-04-20 11:29:32 -04:00
|
|
|
debian/create-standalone-changelog
|
|
|
|
dpkg-buildpackage -rfakeroot
|
|
|
|
quilt pop -a
|