diff options
| author | Francois Perrad <francois.perrad@gadz.org> | 2010-10-28 20:00:16 +0200 |
|---|---|---|
| committer | Francois Perrad <francois.perrad@gadz.org> | 2010-10-28 20:00:16 +0200 |
| commit | 5ee435e295ab8d09571e9c670e3cdaf7fc28c789 (patch) | |
| tree | ec8d8c6e166571d83a17bd3b5c68287543dd383d /apps/couchdb/Makefile | |
| parent | spore2dot: add a detailed generation (diff) | |
| download | api-description-5ee435e295ab8d09571e9c670e3cdaf7fc28c789.tar.gz | |
CouchDB: an alternate description
(still incomplete)
Diffstat (limited to 'apps/couchdb/Makefile')
| -rw-r--r-- | apps/couchdb/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
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 |
