Skip to content

Commit

Permalink
Adapt simple scripting to build draft spec
Browse files Browse the repository at this point in the history
Add a rule to the Makefile to move draft builds into a draft subdirectory

Signed-off-by: Joshua Lock <[email protected]>
  • Loading branch information
joshuagl committed Feb 18, 2021
1 parent 6665dd5 commit 5e8d14e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e8d14e

Please sign in to comment.