aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-06-22 23:50:03 -0400
committerJesse Luehrs <doy@tozt.net>2020-06-22 23:54:26 -0400
commitccc90e525df1fc8dcbfd64d7bf20be5f05a23929 (patch)
tree394b770ad1c57de115258f2b7cbf3da2e6ce2a65 /Makefile
parent14d7cd8ffa4e95f866175545534fd5af901e8402 (diff)
downloadrbw-ccc90e525df1fc8dcbfd64d7bf20be5f05a23929.tar.gz
rbw-ccc90e525df1fc8dcbfd64d7bf20be5f05a23929.zip
fix glibc version in debian package
this should make the built binary work on debian stable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a95bf3b..937b1ab 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,8 @@ build:
release:
@cargo build --release --all-targets
+ @./bin/remove-glibc-2.29-use ./target/release/rbw
+ @mv ./target/release/rbw.new ./target/release/rbw
.PHONY: release
test:
@@ -40,8 +42,8 @@ package: pkg/$(DEB_PACKAGE)
pkg:
@mkdir pkg
-pkg/$(DEB_PACKAGE): | pkg
- @cargo deb && mv target/debian/$(DEB_PACKAGE) pkg
+pkg/$(DEB_PACKAGE): release | pkg
+ @cargo deb --no-build && mv target/debian/$(DEB_PACKAGE) pkg
pkg/$(DEB_PACKAGE).minisig: pkg/$(DEB_PACKAGE)
@minisign -Sm pkg/$(DEB_PACKAGE)