diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-05-11 17:00:59 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-05-11 17:00:59 +0200 |
commit | 9fc989c9e1e6e3c700059346ca205235d6dbf7a0 (patch) | |
tree | 3b8569365660a6953bc2b4726d3bbbeae08c31b0 /tool/Makefile | |
parent | 4fd637775c0d66206ddf2e6652fe8402469bb7ee (diff) |
tool: Generalize usage generation and document 'sqv'.
Diffstat (limited to 'tool/Makefile')
-rw-r--r-- | tool/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/tool/Makefile b/tool/Makefile index 517f705e..7cd3bd1f 100644 --- a/tool/Makefile +++ b/tool/Makefile @@ -1,13 +1,10 @@ CARGO ?= cargo SQ ?= ../target/debug/sq +SQV ?= ../target/debug/sqv -all: sq src/usage.rs +all: src/sq-usage.rs src/sqv-usage.rs -sq: ../target/debug/sq - -.PHONY: ../target/debug/sq -../target/debug/sq: - $(CARGO) build - -src/usage.rs: make-usage.sh $(SQ) +src/sq-usage.rs: make-usage.sh $(SQ) sh make-usage.sh $(SQ) >$@ +src/sqv-usage.rs: make-usage.sh $(SQV) + sh make-usage.sh $(SQV) >$@ |