We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9734903 + 0a4bbc6 commit be3543cCopy full SHA for be3543c
1 file changed
Makefile
@@ -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