summaryrefslogtreecommitdiff
path: root/debian/rules
blob: b54cee2b34465fd85522a79ffa7819127016740e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

DEB_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
ORIG_SRC=https://github.com/WindowsAzure/WALinuxAgent

get-packaged-orig-source:
	git clone --separate-git-dir=.git \
		$(ORIG_SRC) orig_source
	git archive --format=tar.gz WALinuxAgent-$(DEB_VERSION) \
		-o walinuxagent_$(DEB_VERSION).orig.tar.gz

%:
	dh $@ --with python2