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