From 5ee435e295ab8d09571e9c670e3cdaf7fc28c789 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Thu, 28 Oct 2010 20:00:16 +0200 Subject: CouchDB: an alternate description (still incomplete) --- apps/couchdb/Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 apps/couchdb/Makefile (limited to 'apps/couchdb/Makefile') diff --git a/apps/couchdb/Makefile b/apps/couchdb/Makefile new file mode 100644 index 0000000..a8177ca --- /dev/null +++ b/apps/couchdb/Makefile @@ -0,0 +1,29 @@ + +VALIDATOR := perl ../../utils/validator.pl --schema spore_validation.rx --description +SPORE2DOT := perl ../../utils/spore2dot.pl + +check: spore_validation.rx + @$(VALIDATOR) server.json + @$(VALIDATOR) database.json + @$(VALIDATOR) document.json + @$(VALIDATOR) design.json + +test: check + +spore_validation.rx: + wget http://github.com/SPORE/specifications/raw/master/spore_validation.rx + +png: couchdb.png + +%.png : %.dot + dot -T png -o $@ $< + +couchdb.dot: \ + server.json \ + database.json \ + document.json \ + design.json + $(SPORE2DOT) $^ > $@ + +clean: + -rm *.png *.dot spore_validation.rx -- cgit v1.2.3