summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 26f244812ff3a043c641888f5e51287a11b82746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export CABAL=debian/cabal-wrapper

# Do use the changelog's version number, rather than making one up.
export RELEASE_BUILD=1

%:
	dh $@

# Run this target to build git-annex-standalone.deb
build-standalone:
	test -e .git
	git checkout debian/changelog
	quilt pop -a || true
	QUILT_PATCHES=debian/patches QUILT_SERIES=series.standalone-build quilt push -a
	debian/create-standalone-changelog
	dpkg-buildpackage -rfakeroot
	quilt pop -a