aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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)