From 5e8d14ef7ab0c46cbb6acf4fd6eb3b1674edf771 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Tue, 16 Feb 2021 10:11:48 +0000 Subject: [PATCH] Adapt simple scripting to build draft spec Add a rule to the Makefile to move draft builds into a draft subdirectory Signed-off-by: Joshua Lock --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 4c0ca38..98dcd2b 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,10 @@ latest: spec mkdir -p latest cp tuf-spec.html latest/index.html +draft: spec + mkdir -p draft + cp tuf-spec.html draft/index.html + versioned: spec mkdir -p $(shell python3 $(SPEC_DIR)/get_version.py $(SPEC_DIR)/tuf-spec.md) cp tuf-spec.html $(shell python3 $(SPEC_DIR)/get_version.py $(SPEC_DIR)/tuf-spec.md)/index.html