blob: 7923b65601eded56b6eacb4adee1ba093810b314 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/make -f
DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')
ORIG_COMMIT=$(shell echo $(DEB_UPSTREAM_VERSION) | cut -f3 -d\. )
ORIG_SRC=https://github.com/Windows-Azure/WALinuxAgent
get-packaged-orig-source:
git clone --separate-git-dir=.git \
$(ORIG_SRC) orig_source
git archive --format=tar.gz $(ORIG_COMMIT) \
-o walinuxagent_$(DEB_UPSTREAM_VERSION).orig.tar.gz
%:
dh $@ --with python2
|