Commit 46a565d4 authored by Martin's avatar Martin

remove package file before dist

parent 92f0f24a
......@@ -7,7 +7,7 @@ PKG_FILE=$(PKG_NAME)-$(VERSION).deb
dist: src/* debian/*
test -d dist || mkdir dist
# test -f 'dist/$(PKG_FILE)' && rm 'dist/$(PKG_FILE)' || true
test -f 'dist/$(PKG_FILE)' && rm 'dist/$(PKG_FILE)' || true
$(FPM) -t deb --package 'dist/$(PKG_FILE)' --version $(VERSION) --name $(PKG_NAME) --depends 'git' --depends 'bash' --after-install 'debian/postinstall' --before-remove 'debian/preremove' -s dir ./src/=/usr/bin/
clean:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment