8 install -D -m755 debian/odhcp6c.ppp.ipv6-up \
9 debian/odhcp6c/etc/ppp/ipv6-up.d/odhcp6c
10 install -D -m755 debian/odhcp6c.ppp.ipv6-down \
11 debian/odhcp6c/etc/ppp/ipv6-down.d/odhcp6c
13 get-orig-source: UPSTREAM_VERSION := $(shell dpkg-parsechangelog -SVersion | sed 's/-[^-]*$$//')
14 get-orig-source: UPSTREAM_COMMIT := $(shell dpkg-parsechangelog -SChanges -f $(UPSTREAM_VERSION) | sed -n 's/.*Upstream version is commit //p')
16 test -n "$(UPSTREAM_VERSION)"
17 test -n "$(UPSTREAM_COMMIT)"
18 rm -rf debian/upstream.git
19 if [ -d .git ] && git cat-file -e $(UPSTREAM_COMMIT); then \
20 ln -s ../.git debian/upstream.git; \
22 git clone --bare https://github.com/sbyx/odhcp6c debian/upstream.git; \
24 GIT_DIR=debian/upstream.git git archive --format=tar --prefix=odhcp6c-$(UPSTREAM_VERSION)/ $(UPSTREAM_COMMIT) | xz -c > odhcp6c_$(UPSTREAM_VERSION).orig.tar.xz
25 rm -rf debian/upstream.git