From 9fc989c9e1e6e3c700059346ca205235d6dbf7a0 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Fri, 11 May 2018 17:00:59 +0200 Subject: tool: Generalize usage generation and document 'sqv'. --- tool/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'tool/Makefile') 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) >$@ -- cgit v1.2.3