Skip to content

Commit be3543c

Browse files
committed
Merge branch 'master' of github.com:simplegeo/python-oauth2
2 parents 9734903 + 0a4bbc6 commit be3543c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Makefile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
ROOTCMD = fakeroot
2+
BUILD_NUMBER ?= 1
3+
4+
.PHONY: debian/changelog
5+
6+
debian/changelog:
7+
-git branch -D changelog
8+
git checkout -b changelog
9+
git-dch -a -N $(shell python setup.py --version) --debian-branch changelog \
10+
--snapshot --snapshot-number=$(BUILD_NUMBER)
11+
12+
dist:
13+
mkdir -p $@
14+
15+
deb: debian/changelog dist
16+
dpkg-buildpackage -r$(ROOTCMD) -us -uc
17+
mv ../python-oauth2_* dist/
18+
19+
sdist:
20+
python setup.py sdist
21+
22+
clean:
23+
rm -rf dist
24+
$(ROOTCMD) debian/rules clean

0 commit comments

Comments
 (0)