summaryrefslogtreecommitdiff
path: root/branding/templates/makefile
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-08-16 22:19:12 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2019-08-16 22:19:12 +0200
commit78ee21c4a87d2e13c4f682162f15aa6411bea592 (patch)
tree1f691ec945260e51bcf8af944867a5a24475dc3c /branding/templates/makefile
parent80db87660a5d013b6cb917b7efbf0150d3081047 (diff)
[pkg] update debian template
Diffstat (limited to 'branding/templates/makefile')
-rwxr-xr-xbranding/templates/makefile/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/branding/templates/makefile/Makefile b/branding/templates/makefile/Makefile
index 2eb7312..42b1482 100755
--- a/branding/templates/makefile/Makefile
+++ b/branding/templates/makefile/Makefile
@@ -97,6 +97,7 @@ pkg_deb:
# bitmask-vpn tar.gz should be placed in parent forlder after doing 'make prepare' with the
# bitmask-vpn topmost Makefile.
@cp ../bitmask-vpn_$(VERSION).tgz build/$(BINNAME)_${DEB_VERSION}.orig.tar.gz
+ @rm -rf build/${BINNAME}_${DEB_VERSION} build/bitmask-vpn_${VERSION}-src
@cd build && tar xzf $(BINNAME)_${DEB_VERSION}.orig.tar.gz && mv bitmask-vpn_${VERSION}-src ${BINNAME}_${DEB_VERSION}
@cp -r debian/ build/$(BINNAME)_$(DEB_VERSION)/
@cd build/$(BINNAME)_$(DEB_VERSION) && debuild -us -uc