Skip to content

Commit f05aae5

Browse files
committed
Add make json-schema.tar.gz command
1 parent 88d3cff commit f05aae5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,14 @@ all: $(OUT)
1414
%.html: %.xml
1515
$(XML2RFC) --html $< -o $@
1616

17+
json-schema.tar.gz: $(OUT)
18+
mkdir json-schema
19+
git clone . json-schema
20+
(cd json-schema && make)
21+
tar -czf json-schema.tar.gz --exclude '.*' json-schema
22+
rm -rf json-schema
23+
1724
clean:
18-
rm -f $(OUT)
25+
rm -f $(OUT) json-schema.tar.gz
1926

2027
.PHONY: clean

0 commit comments

Comments
 (0)