Permalink
Browse files

Add `make json-schema.tar.gz` command

  • Loading branch information...
1 parent 88d3cff commit f05aae511465daf053c65c43cadaf4da49725936 @awwright awwright committed Oct 14, 2016
Showing with 8 additions and 1 deletion.
  1. +8 −1 Makefile
View
@@ -14,7 +14,14 @@ all: $(OUT)
%.html: %.xml
$(XML2RFC) --html $< -o $@
+json-schema.tar.gz: $(OUT)
+ mkdir json-schema
+ git clone . json-schema
+ (cd json-schema && make)
+ tar -czf json-schema.tar.gz --exclude '.*' json-schema
+ rm -rf json-schema
+
clean:
- rm -f $(OUT)
+ rm -f $(OUT) json-schema.tar.gz
.PHONY: clean

0 comments on commit f05aae5

Please sign in to comment.