Skip to content

Commit

Permalink
debian-cryptoanarchy#167. Adding --no-track switch to cargo to not …
Browse files Browse the repository at this point in the history
…produce tracking files inside root
  • Loading branch information
eguchek committed Dec 19, 2021
1 parent 11181b6 commit 7807d67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildsystems/cargo/debian-makefile-template
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ check:
# Installing multiple Rust binaries is currently unsupported due to the limitation of cfg_me
install:
{{^cargo_workspaces}}
$(CARGO_ENVIRON) $(CARGO_COMMON_ENV) cargo install --frozen --offline --path . --root $(DESTDIR)/usr --target $(CARGO_ARCH) $(CARGO_ARGS)
$(CARGO_ENVIRON) $(CARGO_COMMON_ENV) cargo install --no-track --frozen --offline --path . --root $(DESTDIR)/usr --target $(CARGO_ARCH) $(CARGO_ARGS)
{{/cargo_workspaces}}
{{#cargo_workspaces}}
$(CARGO_ENVIRON) $(CARGO_COMMON_ENV) cargo install --frozen --offline --path {{workspace_path}} --root $(DESTDIR)/usr --target $(CARGO_ARCH) $(CARGO_ARGS)
$(CARGO_ENVIRON) $(CARGO_COMMON_ENV) cargo install --no-track --frozen --offline --path {{workspace_path}} --root $(DESTDIR)/usr --target $(CARGO_ARCH) $(CARGO_ARGS)
{{/cargo_workspaces}}
test "`ls $(DESTDIR)/usr/bin | wc -l`" -eq 1
mkdir -p target/man
Expand Down

0 comments on commit 7807d67

Please sign in to comment.